You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently attempting 3D segmentation, but I am encountering an IndexError: index 2 is out of bounds for axis 0 with size 2. This error persists and I am unable to resolve it. Below is the configuration of my data environment.
Dataset: MRI T1
Size:
IMG: (depth, 256, 256, 1)
Mask: (depth, 256, 256, 1)
The reason to add 1 channel is related to --verify_dataset_integrity
Voxel Spacing: (1.0, 1.0, 1.0, 1.0)
dataset.json file configuration:
nnUNetv2_plan_and_preprocess -d 777 -pl ExperimentPlanner -c 3d_fullres -np 2
nnUNetv2_plan_and_preprocess -d 777 -pl ExperimentPlanner -c 3d_lowres -np 2
I have tried adjusting the shape of the image, but the issue persists. When I remove the channel (1) from the shape to resolve the voxel spacing issue, an integrity error occurs.
The error occurs in the fullres_spacing_transposed = fullres_spacing[transpose_forward] area of the default_experiment_planner.py code.
I tried --verify_dataset_integrity and it's ok now. And above index error still existed.
How can I resolve this issue? Direct access to nnUNet's default_experiment_planner.py seems difficult.
I already tried a lot of things to change image shape, dataset.json file information changes...
Thank you.
I am currently attempting 3D segmentation, but I am encountering an IndexError: index 2 is out of bounds for axis 0 with size 2. This error persists and I am unable to resolve it. Below is the configuration of my data environment.
Dataset: MRI T1
Size:
IMG: (depth, 256, 256, 1)
Mask: (depth, 256, 256, 1)
The reason to add 1 channel is related to
--verify_dataset_integrity
Voxel Spacing: (1.0, 1.0, 1.0, 1.0)
dataset.json file configuration:
nnUNetv2_plan_and_preprocess -d 777 -pl ExperimentPlanner -c 3d_fullres -np 2
nnUNetv2_plan_and_preprocess -d 777 -pl ExperimentPlanner -c 3d_lowres -np 2
I have tried adjusting the shape of the image, but the issue persists. When I remove the channel (1) from the shape to resolve the voxel spacing issue, an integrity error occurs.
The error occurs in the fullres_spacing_transposed = fullres_spacing[transpose_forward] area of the default_experiment_planner.py code.
I tried
--verify_dataset_integrity
and it's ok now. And above index error still existed.How can I resolve this issue? Direct access to nnUNet's default_experiment_planner.py seems difficult.
I already tried a lot of things to change image shape, dataset.json file information changes...
Thank you.
Above info is header example
The text was updated successfully, but these errors were encountered: