rahul003 commented on a change in pull request #11027: Add standard ResNet data
augmentation for ImageRecordIter
URL: https://github.com/apache/incubator-mxnet/pull/11027#discussion_r194186252
##########
File path: example/image-classification/common/data.py
##########
@@ -120,6 +136,7 @@ def get_rec_iter(args, kv=None):
else:
(rank, nworker) = (0, 1)
rgb_mean = [float(i) for i in args.rgb_mean.split(',')]
+ random_resized_crop = args.random_resized_crop is not None
Review comment:
Wouldn't args.random_resized_crop never be None? action='store_true' means
if not passed it is set by default to false
----------------------------------------------------------------
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