You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/11/04 23:31:44 UTC

[GitHub] [incubator-mxnet] jmracek opened a new issue #19477: "UnboundLocalError: local variable 'dshapes' referenced before assignment" when using quantize_net_v2 with calib_data=None

jmracek opened a new issue #19477:
URL: https://github.com/apache/incubator-mxnet/issues/19477


   https://github.com/apache/incubator-mxnet/blob/2e33e961b6339f32680e38aa72ac28bc94215460/python/mxnet/contrib/quantization.py#L897
   
   Pretty straightforward bug.  If `calib_data is None` then `dshapes` is never assigned and this line will throw an error.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] grygielski commented on issue #19477: "UnboundLocalError: local variable 'dshapes' referenced before assignment" when using quantize_net_v2 with calib_data=None

Posted by GitBox <gi...@apache.org>.
grygielski commented on issue #19477:
URL: https://github.com/apache/incubator-mxnet/issues/19477#issuecomment-723972930


   Hi @jmracek thanks for reporting this bug. I've submitted a quick fix: https://github.com/apache/incubator-mxnet/pull/19501


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] grygielski commented on issue #19477: "UnboundLocalError: local variable 'dshapes' referenced before assignment" when using quantize_net_v2 with calib_data=None

Posted by GitBox <gi...@apache.org>.
grygielski commented on issue #19477:
URL: https://github.com/apache/incubator-mxnet/issues/19477#issuecomment-724941749


   @jmracek Fix for this Issue has been merged to v1.x branch. If that's fine for you, you can close this issue.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #19477: "UnboundLocalError: local variable 'dshapes' referenced before assignment" when using quantize_net_v2 with calib_data=None

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #19477:
URL: https://github.com/apache/incubator-mxnet/issues/19477#issuecomment-722030842


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org