Skip to content

test_nnunetv2runner #7013

Closed

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] ----------------------------------------------------------------------

Activity

  1. added a commit that references this issue on Feb 21, 2024
    004c7a3
  2. added a commit that references this issue on Feb 22, 2024
    f4103c5
  3. added a commit that references this issue on Mar 25, 2024
    ff19822
  4. added a commit that references this issue on Apr 11, 2024
    9092e5d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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