Replies: 1 comment 1 reply
-
Hi @swhoosh, thanks for reporting. I will try to fix it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys. I'm trying to use nnUNet on MONAI since I think it's easier to deploy later with MONAI deploy. But, I am currently having a problem converting my dataset. My dataset is in
.png
format and I am trying to convert it into nnunet format using this command line:My
input.yaml
looks like this:But somehow the conversion returns error saying:
Which seems weird so I try investigating more on what were generated. Here's what I found.
work_dir
which is working directory for nnUNet is already generated.dataset.json
had incorrect file extension (should have been .png).analyze_data
might be the problem since it only detects 1 input channel. However, I'm unable to find the source code of this functionfrom monai.apps.nnunet.utils import analyze_data, create_new_data_copy, create_new_dataset_json
.png
with RGB channels to train my model successfully.This is my how my dataset folder looks like:
Anyone has any ideas for this? Thank you so much in advance.
Here's the reference I have been digging through. https://docs.monai.io/en/stable/_modules/monai/apps/nnunet/nnunetv2_runner.html#nnUNetV2Runner.convert_dataset
Beta Was this translation helpful? Give feedback.
All reactions