samskalicky opened a new issue #15916: Error when loading models with no params
URL: https://github.com/apache/incubator-mxnet/issues/15916
 
 
   When loading small unit test models (such as models that contain only an 
identity operator) there may not be any params in the params file. When this 
happens the "save_dict" is empty in load_checkpoint and an error is thrown when 
we call "*.items()" function on it. 
   
   
https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/model.py#L451-L454
   
   We need to add a check before the for loop to avoid this problem

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to