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

nnUNet output not aligned properly with the original scan #2678

Open
Flock1 opened this issue Jan 28, 2025 · 2 comments
Open

nnUNet output not aligned properly with the original scan #2678

Flock1 opened this issue Jan 28, 2025 · 2 comments
Assignees

Comments

@Flock1
Copy link

Flock1 commented Jan 28, 2025

Hi,

I trained nnUNet on my own data and I was wondering if you could help me alignment issues.

This is the command I use to run predictions:

nnUNetv2_predict -i /path_to_nnUNet/nnUNet/nnUNet_results/Dataset001_SpinalCordSegmentation/imagesTs -o /path_to_nnUNet/nnUNet/nnUNet_results/Dataset001_SpinalCordSegmentation/output -d 001 -c 3d_fullres -f 4 --verbose
And the outputs I get, even though the segmentations look good, are not aligned with the original segmentation file. Hence, I am unable to calculate the dice score. Can someone help me?

@Flock1
Copy link
Author

Flock1 commented Jan 31, 2025

@saikat-roy, can you help me with this issue?

@Flock1
Copy link
Author

Flock1 commented Feb 3, 2025

An update, I realized that for the majority of scans, the output aligns well with the original scan. It's only for some scans it's not working. So I was wondering if that's the actual output of nnUNet or if the affine transformation is wrong. Do you have any suggestions on how to confirm this?

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

2 participants