We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: not enough values to unpack
predict_single_npy_array
Note
I see a flurry of activity on the PyPI History, so it's possible that you're already aware of this. If so, my apologies for adding to the noise!
nnuntv2
Traceback:
File "/__w/spinalcordtoolbox/spinalcordtoolbox/spinalcordtoolbox/deepseg/inference.py", line 228, in segment_nnunet pred = predictor.predict_single_npy_array( File "/__w/spinalcordtoolbox/spinalcordtoolbox/python/envs/venv_sct/lib/python3.9/site-packages/nnunetv2/inference/predict_from_raw_data.py", line 442, in predict_single_npy_array dct = next(ppa) File "/__w/spinalcordtoolbox/spinalcordtoolbox/python/envs/venv_sct/lib/python3.9/site-packages/batchgenerators/dataloading/data_loader.py", line 126, in __next__ return self.generate_train_batch() File "/__w/spinalcordtoolbox/spinalcordtoolbox/python/envs/venv_sct/lib/python3.9/site-packages/nnunetv2/inference/data_iterators.py", line 193, in generate_train_batch image, seg_prev_stage, props, ofname = self._data[idx][0] ValueError: not enough values to unpack (expected 4, got 1)
nnUNet/nnunetv2/inference/data_iterators.py
Lines 191 to 193 in 9945333
It looks like this issue may be due to d87fa5b. (I don't think the [0] should be present anymore for the unpacking to work successfully.)
[0]
Thank you for your time and effort maintaining this package! ♥️
The text was updated successfully, but these errors were encountered:
ValueError
I've opened a PR for this issue in #2114. :)
Sorry, something went wrong.
Thanks a lot! I am currently traveling and will merge it once I am back :-)
-task seg_sc_lesion_t2w_sci
nnunetv2==2.4.2
Karol-G
FabianIsensee
Successfully merging a pull request may close this issue.
Note
I see a flurry of activity on the PyPI History, so it's possible that you're already aware of this. If so, my apologies for adding to the noise!
nnuntv2
and runs inference tests.Traceback:
nnUNet/nnunetv2/inference/data_iterators.py
Lines 191 to 193 in 9945333
It looks like this issue may be due to d87fa5b. (I don't think the
[0]
should be present anymore for the unpacking to work successfully.)Thank you for your time and effort maintaining this package!♥️
The text was updated successfully, but these errors were encountered: