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


With regards,
Apache Git Services

Reply via email to