xinyu-intel commented on a change in pull request #14823: [int8] Add 
MobileNetV2_1.0 & ResNet18 Quantization
URL: https://github.com/apache/incubator-mxnet/pull/14823#discussion_r279594178
 
 

 ##########
 File path: example/quantization/imagenet_gen_qsym_mkldnn.py
 ##########
 @@ -234,6 +242,12 @@ def save_params(fname, arg_params, aux_params, 
logger=None):
                                'mobilenet0_pool0_fwd']
         if exclude_first_conv:
             excluded_sym_names += ['mobilenet0_conv0_fwd']
+    elif args.model == 'mobilenetv2_1.0':
+        rgb_mean = '123.68,116.779,103.939'
 
 Review comment:
   @zhreshold @pengzhao-intel agree, I'll refactor this script along with 
enabling more models next time.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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