seekFire edited a comment on issue #19499:
URL: 
https://github.com/apache/incubator-mxnet/issues/19499#issuecomment-725839386


   @leezu 
   I tried your suggestion by adding the script:
   `mx.npx.set_np()`
   But it didn't work and new error occurs...
   
   I'm doing the semantic segmentation task, and because of using sparse label, 
the shape of label needs to be converted, from 
   (n, c, h, w) to (n, h\*w), and the shape of prediction also needs to be 
converted from (n, c, h, w) to (n, h\*w, c)
   I just wonder if it is because I set the **last_batch** of dataloader to 
'**keep**', so the batch size is not fixed, and the error occured...


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to