How to use pretrain model in Unet encoder? #1223
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. Hope it can help you. Thanks! |
Beta Was this translation helpful? Give feedback.
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!