Skip to content

How to use pretrain model in Unet encoder? #1223

Answered by KumoLiu
ramchandracheke asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ramchandracheke, retrain a model with pre-trained indeed changed the weight when training since it needs to be updated. And also there is possible the performance of a randomly initialized model is similar to the pre-trained model, which may indicate that the pre-trained weight is not helpful for training.
You could also try to freeze the weight of the encode several epochs after you load the pre-trained weight.

Hope it can help you. Thanks!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ramchandracheke
Comment options

Answer selected by ramchandracheke
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