szha edited a comment on issue #14017: Loading parameters from pretrained gluon 
model
URL: 
https://github.com/apache/incubator-mxnet/issues/14017#issuecomment-459629217
 
 
   @MaJieCornell you can still update the parameter files by calling 
`param_dict = mx.nd.load('filename.params')`, which returns a dictionary of 
NDArrays. You can delete some elements from this dictionary, and then 
`mx.nd.save('new_filename.params', param_dict)`, and load that in Gluon with 
`allow_missing=True`.

----------------------------------------------------------------
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