Skip to content

test_nnunetv2runner #7013

Closed
@wyli

Description

@wyli

test nnunetv2runner is broken after the recent update https://pypi.org/project/nnunetv2/#history

[2023-09-19T22:32:39.490Z] ======================================================================
[2023-09-19T22:32:39.490Z] ERROR: test_nnunetv2runner (__main__.TestnnUNetV2Runner)
[2023-09-19T22:32:39.490Z] ----------------------------------------------------------------------
[2023-09-19T22:32:39.490Z] Traceback (most recent call last):
[2023-09-19T22:32:39.490Z]   File "/home/jenkins/agent/workspace/Monai-notebooks/MONAI/tests/test_integration_nnunetv2_runner.py", line 89, in test_nnunetv2runner
[2023-09-19T22:32:39.490Z]     runner.predict_ensemble_postprocessing()
[2023-09-19T22:32:39.490Z]   File "/home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/apps/nnunet/nnunetv2_runner.py", line 900, in predict_ensemble_postprocessing
[2023-09-19T22:32:39.490Z]     self.predict(
[2023-09-19T22:32:39.490Z]   File "/home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/apps/nnunet/nnunetv2_runner.py", line 827, in predict
[2023-09-19T22:32:39.490Z]     from nnunetv2.inference.predict_from_raw_data import predict_from_raw_data
[2023-09-19T22:32:39.490Z] ImportError: cannot import name 'predict_from_raw_data' from 'nnunetv2.inference.predict_from_raw_data' (/usr/local/lib/python3.10/dist-packages/nnunetv2/inference/predict_from_raw_data.py)
[2023-09-19T22:32:39.490Z] 
[2023-09-19T22:32:39.490Z] ----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions