@SarathChandran Did you ever figure this out? I ended up with something very similar to yours in my output_fn, trying to pass the output to KMeans. Same error. The line that MXNet is complaining about (no magic number) is the same number as number of samples in the file.
--- [Visit Topic](https://discuss.mxnet.apache.org/t/mxneterror-dataset-does-not-start-with-a-valid-magic-number/3887/5) or reply to this email to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.mxnet.apache.org/email/unsubscribe/a4d40f5d7a3d01c761e8b802d9f640286474dd4df3c2857fa44b4f72ec9fca09).
