You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/07 04:06:50 UTC

[GitHub] [incubator-mxnet] szha edited a comment on issue #14017: Loading parameters from pretrained gluon model

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


With regards,
Apache Git Services