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 19:04:52 GMT
szha commented on issue #14017: Loading parameters from pretrained gluon model
URL: https://github.com/apache/incubator-mxnet/issues/14017#issuecomment-459832236
 
 
   An easier way is to load all parameters and force randomly reinitialize the layers you
want to train. For example:
   ```
   model.load_parameters(...)
   model.classifier.initialize('uniform', force_reinit=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