@ShownX If you prefer preserving names, here's the API for it:

```
net = get_model('resnet101_v2', pretrained=True)
net.collect_params().save(filename, strip_prefix=net.prefix)
new_net.collect_params(collect='the patterns').load(filename, 
restore_prefix=new_net.prefix)
```

What your purpose is reusing separate(partial) parameters, not the entire 
network.


[ Full content available at: 
https://github.com/apache/incubator-mxnet/issues/12334 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to