mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] szha commented on issue #14017: Loading parameters from pretrained gluon model
Date Fri, 01 Feb 2019 07:13:09 GMT
szha commented 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(param_dict, 'new_filename.params')`, 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 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

Mime
View raw message