U-Net Data preprocessing error ¶
By: mjcho on July 22, 2022, 9:43 a.m.
Hello!
When I executed 'prepare_data.py', I got an unexpected error. Here is a log file. "Provided mha2nnunet archive is valid.
Starting preprocessing script for Task2201_picai_baseline. Reading scans from /workspace/input/images Reading annotations from /workspace/input/labels/csPCa_lesion_delineations/human_expert/resampled
Creating preprocessing plan with 1295 items.
Preprocessing plan completed, with 1295 items containing a total of 3885 scans and 1295 labels.
01294 11475/1001499
Unexpected error: Label has changed due to resampling/other errors for 11475_1001499! Have 1 -> 2 isolated ground truth lesions
Processed 1294 items, with -1 cases skipped and 1 error.
Did not generate dataset.json, as only 1294/1295 items are converted successfully."
This problem occurs only when UNet data preprocessing. How can I solve it?
Thank you.