dmas-at-wiris opened a new issue #13349: Cannot change grad_req in imported 
model
URL: https://github.com/apache/incubator-mxnet/issues/13349
 
 
   I’m trying to load a pretrained model and fine tune it. Given that I’m using 
batch accumulation I need to change grad_req to ‘add’. However, when i do this 
it crashes with the following error:
   > src/imperative/./imperative_utils.h:733: Check failed: vctx[i].dev_type != 
-1 (-1 vs. -1) Cannot decide context for node NoGradient
   
   This issue is also found [here](https://discuss.gluon.ai/t/topic/5766), 
however no solution was provided.

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


With regards,
Apache Git Services

Reply via email to