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 2018/09/13 04:27:28 UTC

[GitHub] huyangc commented on issue #12544: Maybe a bug about the IRHeader when using pack and unpack

huyangc commented on issue #12544: Maybe a bug about the IRHeader when using pack and unpack
URL: https://github.com/apache/incubator-mxnet/issues/12544#issuecomment-420879440
 
 
   And another "Feature" here:
   ```
   header = mx.recordio.IRHeader(2,[33511722.0, 33511805.0],1,0)
   print header.label # [33511722.0, 33511805.0]
   s = mx.recordio.pack(header,'')
   h, _ = mx.recordio.unpack(s)
   print h.label #  array([33511722., 33511804.], dtype=float32)
   ```
   
   It is so wired that the label in header can change automatically.
   
   Which takes me two days to debug my code. orz

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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