tests analysers stops display values of fps and accuracy
收藏
0
收藏
全部评论(5)
Does this happen in local env or Paddle CI? I ran these analyzer tests locally(e.g. by ./test_analyzer_image_classification --infer_model=/Paddle/build/third_party/inference_demo/resnet50/model/
), and the accuracy and fps info is still printed on screen.
The commit only provides a config option to mute all logs while inferencing, but it's set to false by default.
0
This lack of results was revealed to us last night during automated nightly tests. Our investigation showed that the perpetrator may be just this commit.
0
sample run command:
OMP_NUM_THREADS=1 paddle_paddle/build/paddle/fluid/inference/tests/api/test_analyzer_int8_image_classification
--enable_int8=true
--enable_fp32=false
--infer_data=/data/PaddlePaddle/1G/imagenet/val.bin
--warmup
--batch_size=1
--iterations=1000
--paddle_num_threads=1
--infer_model=/repos/paddle_paddle/build/third_party/inference_demo/int8v2/vgg19/model
0
It is likely to be fixed in PR#21573.
You can build with the latest develop branch and let us know if it still happens.
0
请登录后评论
The most probably this commit:
122b37c
causes test analysers:
test_analyzer_image_classification, test_analyzer_int8_image_classification, etc.
stops to display pieces of information about test results: accuracy and fps.
now is:
but should be: