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 2021/03/16 12:42:01 UTC

[GitHub] [incubator-mxnet] pultarmi opened a new issue #20037: pack and unpack of header inconsistency (outputting wrong result)

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


   ## Description
   mxnet.recordio.pack followed by mxnet.recordio.unpack is returning wrong result.
   
   Input:
   HEADER(flag=2, label=17672687.0, id=0, id2=0)
   
   Expected output:
   HEADER(flag=2, label=17672687.0, id=0, id2=0)
   
   Actual output:
   HEADER(flag=0, label=17672688.0, id=0, id2=0)
   
   ## To Reproduce
   import mxnet as mx
   from mxnet import recordio
   
   header = mx.recordio.IRHeader(flag=2, label=17672687.0, id=0, id2=0)
   s = mx.recordio.pack(header, b'')
   header_ = recordio.unpack(s)[0]
   print('original header ', header)
   print('header packed and unpacked', header_)
   
   ## What have you tried to solve it?
   Tried different versions of Python (3.9.0, 3.8.3, 3.6.13) and of mxnet (mxnet==1.7.0.post1 and mxnet==1.5.0)
   
   ## Environment
   Python 3 script.
   


----------------------------------------------------------------
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 #20037: pack and unpack of header inconsistency (outputting wrong result)

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


   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