Skip to content

[OCR]paddle预测,输出output层的信息时发现日志有丢失 #2421

@xieshufu

Description

@xieshufu

想利用PADDLE的训练程序对训练数据进行预测,为加快预测速度,对训练数据按照图片的宽度进行排序,batch_size=32, 然后在network.conf里面增加对输出层的信息输出:

Evaluator(name = "output_printer", type = "max_id_printer", inputs = ["output"])

在程序运行完成后,发现log里面的输出信息有丢失。不清楚是什么原因。
从日志里面拷贝出一部分数据,如下(25967264行信息未打印完全):

25967255 88 : 16.8427, 25967256 95 : 21.5762, 25967257 95 : 18.9083, 25967258 78 : 17.2552, 25967259 95 : 20.2771, 25967260 95 : 18.9346, 25967261 84 : 18.7365, 25967262 95 : 19.8724, 25967263 94 : 17.5951, 25967264 9 25967265 I0607 21:51:35.054631 24851 Trainer.cpp:706] Pass=0 samples=700480 

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions