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

[Question] Label files with multiple channels #103

Open
y0m4r0ll opened this issue Aug 18, 2022 · 1 comment
Open

[Question] Label files with multiple channels #103

y0m4r0ll opened this issue Aug 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@y0m4r0ll
Copy link

y0m4r0ll commented Aug 18, 2022

❓ Question: label files with multiple channels

Hi!

I have label nifti files with multiple channels (each channel is one instance as the segmentations overlap in some areas), but nnDetection fails at the prep step:
Log:
2022-08-18 15:31:00.090 | INFO | nndet.preprocessing.crop:process_data:223 - Processing case case_0010
2022-08-18 15:31:05.107 | INFO | nndet.preprocessing.crop:crop:288 - Shape before crop (1, 350, 450, 450); after crop (1, 262, 375, 375); spacing [1. 1. 1.]
2022-08-18 15:31:07.012 | INFO | nndet.preprocessing.crop:process_data:237 - exception in: case_0024: operands could not be broadcast together with shapes (1,262,375,375,2) (1,262,375,375)
(I have tried shape (1,2,262,375,375) and it produced the same error.)

The masks were generated with SimpleITK from numpy arrays.
Is there something I am missing or is this just not supported? Thanks in advance!

@y0m4r0ll y0m4r0ll changed the title [Question] [Question] Aug 18, 2022
@y0m4r0ll y0m4r0ll changed the title [Question] [Question] Label files with multiple channels Aug 18, 2022
@mibaumgartner
Copy link
Collaborator

Dear @y0m4r0ll ,

overlapping object in multi channel segmentations files are currently not supported in nndetection.

Best,
Michael

@mibaumgartner mibaumgartner added the enhancement New feature or request label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants