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

Segmentation masks have a different shape than the input CT scan? #81

Open
chongduan opened this issue Aug 1, 2024 · 1 comment
Open

Comments

@chongduan
Copy link

Hi, I am using the pred_pseudo.py function to process a CT scan (from one of the Decathlon datasets), and I noticed that the output masks have a different shape than the input CT scan. I imagine this must be due to some transforms in the process, but I could not figure out which step is causing this shape inconsistency. Any help will be greatly appreciated!

@ljwztc
Copy link
Owner

ljwztc commented Aug 5, 2024

Invertd() API in monai is used for save result. If you rigorously follow the pipeline in README, it should generate shape with same shape as input.

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