L1aoXingyu commented on issue #12334: Load pretrained model with new 
load_parameters() API
URL: 
https://github.com/apache/incubator-mxnet/issues/12334#issuecomment-419028563
 
 
   ```
   from mxnet.gluon.model_zoo.vision import get_model
   
   # download the pretrained model with the path: model_path
   model = get_model('resnet101_v2')
   model.features.load_parameters(model_path, allow_missing=True, 
ignore_extra=True)
   ```
   This can work.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to