How to use pretrained weigths #1880
Unanswered
Michelotti
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, I might have run into the same problem. I get |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I tried to look at the dedicated section to load the pretrained weigths and train them with another dataset (Pretraining with nnUNet), but I am having trouble to using -pretrained_weigths.
nnUNetv2_train TARGET_DATASET CONFIG FOLD -pretrained_weights PATH_TO_CHECKPOINT
By following the instruction above, I should insert the correct path, so for example I tried to use as argument for PATH_TO_CHECKPOINT either
/home/nnUNetFrame/dataset/Dataset114/nnUNet_results/Dataset114/nnUNetTrainer__nnUNetPlans_2d/fold_0/checkpoint_final.pth
or
/home/nnUNetFrame/dataset/Dataset114/nnUNet_results/Dataset114/nnUNetTrainer__nnUNetPlans_2d/fold_0/checkpoint_final/data.pkl
Do I make any obvious mistake to load the weigths? Thanks in advance!
Best,
Filippo
Beta Was this translation helpful? Give feedback.
All reactions