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
IndexError: index 255 is out of bounds for axis 1 with size 3 #93
Comments
My dataset does not contain multi-class segmentation. Only the left atrial of human heart. My segmentation mask like follows; case_00090 [ 0. 255.] |
Hey @Qcatbot, you have to preprocess your data to be sparse categorical. This mean that your segmentation mask should have only increasing class values like 0 (for class 0), 1 (for class 1), ... Also I'm quite confused why the error states "for axis 1 with size 3". Sounds like keras found more 3 classes instead of 2. Cheers, |
Hi @Qcatbot,
After that you have to call the function I hope this solves your problem, |
Hi Muellerdo & Leonie, |
hi @leonieburg , |
Hello, I use MIScnn repo to segment medical images.
My data come from 2018 Atrial Segmentation Challenge. I follow exactly the same way the tutorial says, however, I get the error. Could you please give a clue why this error comes when I test it?
Thank you.
The text was updated successfully, but these errors were encountered: