Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fine-tuned worse than TotalSegmentator #358

Open
nairouzshehata opened this issue Aug 22, 2024 · 0 comments
Open

Fine-tuned worse than TotalSegmentator #358

nairouzshehata opened this issue Aug 22, 2024 · 0 comments

Comments

@nairouzshehata
Copy link

nairouzshehata commented Aug 22, 2024

I wanted to fine-tune TotalSegmentator's model for aortic segmentation from MR because the aortic root is not very accurate and I have 200 samples that are segmented which I wanted to use for fine-tuning.

The steps I followed (my dataset id is 4):

  1. nnUNetv2_plan_and_preprocess -d 4

  2. I download the weights into the pre-processed folder and renamed plans.json to nnUNetPlans.json

  3. Then run this notebook that moves the plans from dataset id 730 to dataset id 4 (mine - MR aorta)

  4. Then run this notebook for fine tuning

  5. Finally for inference, I run this

Sadly, that's a fine-tuned sample

image

The white mask is the non-fine-tuned totalsegmentator prediction, which is much better!

image

  • I used the 1000epochs trainer btw Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant