MrGiovanni / ModelsGenesis

[MICCAI 2019 Young Scientist Award] [MEDIA 2020 Best Paper Award] Models Genesis
Other
741 stars 140 forks source link

Using the pretrained model on a different dataset #45

Open yael-clbh opened 3 years ago

yael-clbh commented 3 years ago

Hi! Thank you for sharing this code! I have a newbie question, We are trying to run it with the weights: genesis_nnunet_luna16_006.model on the Task004_Hippocampus data, but we get the print : "Training from scratch", meaning we are not using the weights. I checked and the condition: (model_dict[key].shape == pretrained_dict[key].shape) is False.

It would be great if you are familiar with the reason and maybe can clarify it for us, and tell us if what we are trying to do is even possible.

Thanks in advance!