You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/05 01:42:23 UTC

[GitHub] szha commented on a change in pull request #7345: add std_rgba to normalize options

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

 ##########
 File path: src/io/image_iter_common.h
 ##########
 @@ -217,6 +225,14 @@ struct ImageNormalizeParam :  public dmlc::Parameter<ImageNormalizeParam> {
         .describe("The mean value to be subtracted on the B channel");
     DMLC_DECLARE_FIELD(mean_a).set_default(0.0f)
         .describe("The mean value to be subtracted on the alpha channel");
+    DMLC_DECLARE_FIELD(std_r).set_default(0.0f)
+        .describe("Augmentation Param: Standard deviation on R channel.");
+    DMLC_DECLARE_FIELD(std_g).set_default(0.0f)
+        .describe("Augmentation Param: Standard deviation on G channel.");
+    DMLC_DECLARE_FIELD(std_b).set_default(0.0f)
 
 Review comment:
   division by zero?
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services