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/02/01 19:05:05 UTC
[GitHub] 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-459832236
An easier way is to load all parameters and force randomly reinitialize the layers you want to train. For example:
```python
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