You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/20 07:25:25 UTC

[GitHub] [incubator-mxnet] RoeePeleg commented on issue #16427: mxnet.recordio.pack example fails in python3

RoeePeleg commented on issue #16427: mxnet.recordio.pack example fails in python3
URL: https://github.com/apache/incubator-mxnet/issues/16427#issuecomment-544228137
 
 
   > Use `s = b'...'` @RoeePeleg
   > You can learn the difference of _string_ between python2 and python3 (encoding).
   
   i know i can use bytes instead of str in order to make it work. i just wanted to note that the example and the documentation of the method are not correct.
   https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/recordio.py#L370-L371
   https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/recordio.py#L378-L386
   

----------------------------------------------------------------
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


With regards,
Apache Git Services