kalyc commented on a change in pull request #13145: Add documentation on GPU
performance on Quantization example
URL: https://github.com/apache/incubator-mxnet/pull/13145#discussion_r231646955
##########
File path: example/quantization/imagenet_inference.py
##########
@@ -93,6 +93,7 @@ def score(sym, arg_params, aux_params, data, devs,
label_name, max_num_examples,
if logger is not None:
logger.info('Finished inference with %d images' % num)
logger.info('Finished with %f images per second', speed)
+ logger.warn('Note: GPU performance is expected to be slower than CPU.
Please refer quantization/README.md for details')
Review comment:
Users can know during run time that the slower performance is expected,
incase if they don't read the README entirely. Let me know if it still should
be removed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services