MIC-DKFZ / nnUNet

Apache License 2.0
5.84k stars 1.75k forks source link

RuntimeError: Could not find a task with the ID #2427

Open MaimoonaAkram opened 3 months ago

MaimoonaAkram commented 3 months ago

Unable to identify why this error is occurring. I tried so many times. However, I followed all the steps that were needed. Directories and structure of the dataset are according to the nnUNET requirement. The following are the links for the folders that are required by nnUNET:

nUNet_preprocessed=/kaggle/working/nnUNet_preprocessed RESULTS_FOLDER=/kaggle/working/nnUNet_results nnUNet_raw_data_base=/kaggle/working/nnUNet_raw_data

The error is: "File "/opt/conda/lib/python3.10/site-packages/nnunet/utilities/task_name_id_conversion.py", line 51, in convert_id_to_task_name raise RuntimeError("Could not find a task with the ID %d. Make sure the requested task ID exists and that " RuntimeError: Could not find a task with the ID 500. Make sure the requested task ID exists and that nnU-Net knows where raw and preprocessed data are located (see Documentation - Installation). Here are your currently defined folders:"

toufiqmusah commented 3 months ago

Hi.. Are you using nnUnetv2? Can you print and display your file structure here with !tree?

MaimoonaAkram commented 3 months ago

Hello, I tried both nnUNET and nnUNETv2 both did not work the same error was there.

[image: image.png]

On Mon, Aug 5, 2024 at 7:49 PM Toufiq @.***> wrote:

Hi.. Are you using nnUnetv2? Can you print and display your file structure here with !tree?

— Reply to this email directly, view it on GitHub https://github.com/MIC-DKFZ/nnUNet/issues/2427#issuecomment-2269261535, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBDCA2EPYU7FXIX7ACQF7J3ZP6GGHAVCNFSM6AAAAABL7CTKGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZGI3DCNJTGU . You are receiving this because you authored the thread.Message ID: @.***>

--

Regards,

Maimoona Akram Assistant Professor Department of Electrical Engineering National University of Computer & Emerging Sciences, Lahore

MaimoonaAkram commented 3 months ago

Can we have a short meeting at GoogleMeet, if you are free? So that I can share my screen to show the issue. I have been trying to resolve this issue for 4 days but unfortunately did not succeed. I have a deadline tomorrow please help asap

thanks

On Mon, Aug 5, 2024 at 8:34 PM Maimoona Akram @.***> wrote:

Hello, I tried both nnUNET and nnUNETv2 both did not work the same error was there.

[image: image.png]

On Mon, Aug 5, 2024 at 7:49 PM Toufiq @.***> wrote:

Hi.. Are you using nnUnetv2? Can you print and display your file structure here with !tree?

— Reply to this email directly, view it on GitHub https://github.com/MIC-DKFZ/nnUNet/issues/2427#issuecomment-2269261535, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBDCA2EPYU7FXIX7ACQF7J3ZP6GGHAVCNFSM6AAAAABL7CTKGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZGI3DCNJTGU . You are receiving this because you authored the thread.Message ID: @.***>

--

Regards,

Maimoona Akram Assistant Professor Department of Electrical Engineering National University of Computer & Emerging Sciences, Lahore

--

Regards,

Maimoona Akram Assistant Professor Department of Electrical Engineering National University of Computer & Emerging Sciences, Lahore

toufiqmusah commented 3 months ago

Alright email me toufiqmusah32 at gmail