It will be nice to also share some of your *'some_file.csv'* so that your issue can be reproduced. The MXNet runs asynchronizely at the backend. And your loss is installed the ctx (in GPU for your case). You might need to do print(l.asnumpy()) to synchronize at the point you want to check the loss and bring the data back to CPU memory.
--- [Visit Topic](https://discuss.mxnet.apache.org/t/correct-way-to-train-sequential-model-on-gpu/6848/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/fbf2fc53f792d718b3bd21b006bcce6876fed2f454237c48fafd62c859501ba8).
