Closed lukasvdstricht closed 2 years ago
Hi @lukasvdstricht,
Thanks for opening this issue and attaching the logs.
It seems you're trying to retrain a model instead of starting from scratch. This error is because the pretrained model doesn't have the same number of labels as the ones you defined.
Once you changed the number of labels, you should also set this argument to false and remove all files in the model
folder.
Here you can see more details: https://youtu.be/3HTh2dqZqew?t=56
Hope this helps,
Thank you very much!
This now seems to be solved and the training is working fine!
Thanks for letting us know.
Closing this issue.
Hi everyone
I am trying to use DeepEdit to obtain automatic segmentations of lungs on MRI images. The dataset that I am using can be found here: Zenodo Covid-19 (the COVID-19-CT-Seg_20cases.zip download). I have already segmented 8 images, using Slicer's Grow from seeds functionality. I have trained a segmentation model on this and everything seems to be working fine there. I now want to train a DeepEdit model on this data.
I started from the deepedit.py file that's included in radiology/lib/configs and edited it to look like this:
The only thing I've changed is the definition of self.labels by putting everything with the tag Single label in comments and editing the Multilabel section to contain the labels I'm interested in (left and right lung).
When I try to train this model, I get the following error:
The full logs can be found in the attached file: deepedit_lung_logs.txt
Does anyone by chance know how to resolve this issue? Do I need to adjust more things in the config file?
Thanks in advance!
Kind regards
Lukas Vander Stricht