piiswrong 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_r195585197
 
 

 ##########
 File path: src/io/image_aug_default.cc
 ##########
 @@ -277,7 +413,8 @@ class DefaultImageAugmenter : public ImageAugmenter {
     }
 
     // crop logic
-    if (param_.max_crop_size != -1 || param_.min_crop_size != -1) {
+    if (!param_.random_resized_crop &&
 
 Review comment:
   This looks weird. Why not resize in the random sized crop section?

----------------------------------------------------------------
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

Reply via email to