Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Not able to run the inference #8

@NeelKanwal

Description

@NeelKanwal

Hi,

Thanks for the detailed documentation.

I am trying to run the pretrained model using the command.

nnUNetv2_predict -i /DUKE_001 -o /output_DUKE001 -d 101 -c 3d_fullres

but getting the following error.

Traceback (most recent call last):
File "/home/neel/mri/bin/nnUNetv2_predict", line 7, in
sys.exit(predict_entry_point())
File "/home/neel/mri/lib/python3.10/site-packages/nnunetv2/inference/predict_from_raw_data.py", line 944, in predict_entry_point
model_folder = get_output_folder(args.d, args.tr, args.p, args.c)
File "/home/neel/mri/lib/python3.10/site-packages/nnunetv2/utilities/file_path_utilities.py", line 22, in get_output_folder
tmp = join(nnUNet_results, maybe_convert_to_dataset_name(dataset_name_or_id),
File "/home/neel/mri/lib/python3.10/site-packages/nnunetv2/utilities/dataset_name_id_conversion.py", line 74, in maybe_convert_to_dataset_name
return convert_id_to_dataset_name(dataset_name_or_id)
File "/home/neel/mri/lib/python3.10/site-packages/nnunetv2/utilities/dataset_name_id_conversion.py", line 48, in convert_id_to_dataset_name
raise RuntimeError(f"Could not find a dataset with the ID {dataset_id}. Make sure the requested dataset ID "
RuntimeError: Could not find a dataset with the ID 101. Make sure the requested dataset ID exists and that nnU-Net knows where raw and preprocessed data are located (see Documentation - Installation). Here are your currently defined folders:
nnUNet_preprocessed=/mnt/crai/users/neel/preprocessedDataset101_Breast
nnUNet_results=/mnt/crai/users/neel/MAMA-MIA/nnUNet/nnunetv2/nnUNet_pretrained_weights/full_image_dce_mri_tumor_segmentation
nnUNet_raw=/mnt/crai/users/neel/Dataset101_Breast/
If something is not right, adapt your environment variables.

Looks like -d 101 in the command in causing problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions