zhreshold commented on a change in pull request #7345: add std_rgba to 
normalize options
URL: https://github.com/apache/incubator-mxnet/pull/7345#discussion_r131526564
 
 

 ##########
 File path: src/io/iter_normalize.h
 ##########
 @@ -137,25 +137,32 @@ class ImageNormalizeIter : public IIterator<DataInst> {
       if (data.shape_[0] == 4) {
         data[3] -= param_.mean_a;
       }
-      if ((param_.rand_mirror && coin_flip(rnd_)) || param_.mirror) {
 
 Review comment:
   moved to last step before assign to outimg_
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to