Closed Yasna-frn closed 1 month ago
Hi @Yasna-frn,
I know it can be confusing. But if you've created the JSON file as shown for BRATS daatset, you don't need to specify the modalities in the AutoRunner. Please remove this line:
"modality": ["Ph1", "Ph3"],
You can see here the arguments for HECTOR challenge and here the arguments for BRATS.
Hope this helps,
Thank you! It's working now!
Closing issue
I'm trying to use auto3dseg for lesion segmentation and I've tried to make a JSON file like the Hecktor 22 example in this link. But it assumes the number of input channels is 1.
When I tried to make a JSON file like the BraTS JSON file (https://drive.google.com/file/d/1i-BXYe-wZ8R9Vp3GXoajGyqaJ65Jybg1/view) and defined: runner = AutoRunner( work_dir="./work_dir_2ch", input={ "modality": ["Ph1", "Ph3"], "datalist": "./ISPY_2Ch.json", "dataroot": "", }, It gives this error:
I'm wondering how I should use auto3dseg for multichannel inputs?