Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

How to use a pre-trained model in model zoo as a sub-block in my own model? #16227

Answered by zachgk
ybz79 asked this question in Q&A
Discussion options

You must be logged in to vote

You should use Mymodel.name_scope() when defining the child blocks. Take a look at the documentation in http://beta.mxnet.io/api/gluon/mxnet.gluon.nn.Block.html. Also, use model.save_parameters as save_params is deprecated.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by szha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16227 on September 05, 2020 19:32.