wuxun-zhang commented on issue #17231: cannot quantization example URL: https://github.com/apache/incubator-mxnet/issues/17231#issuecomment-597958191 > I have tried mxnet docker image and now I am getting a new error while running same command as below > INFO:logger:Collected statistics from 200 batches with batch_size=32 > INFO:logger:Collected layer outputs from FP32 model using 6400 examples > INFO:logger:Calculating optimal thresholds for quantization > INFO:logger:Calculating optimal thresholds for quantization using KL divergence with num_quantized_bins=255 > terminate called after throwing an instance of 'dmlc::Error' > what(): [05:01:48] src/operator/quantization/calibrate.cc:81: Check failed: p[i] > 0 && q[i] > 0: > > Aborted (core dumped) > > What is happening? I can exactly reproduce this issue (when `num-calib-batches` is higher than 33) with the latest master. I will look into this.
---------------------------------------------------------------- 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
