Skip to content
New issue

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

Mismatch result in "integration_segmentation_3d" #7550

Closed
KumoLiu opened this issue Mar 15, 2024 · 0 comments · Fixed by #7551
Closed

Mismatch result in "integration_segmentation_3d" #7550

KumoLiu opened this issue Mar 15, 2024 · 0 comments · Fixed by #7551

Comments

@KumoLiu
Copy link
Contributor

KumoLiu commented Mar 15, 2024

======================================================================
ERROR: test_timing (__main__.IntegrationSegmentation3D)
----------------------------------------------------------------------
ValueError: no matched results for integration_segmentation_3d, losses. [0.5442982316017151, 0.4741817444562912, 0.4535954713821411, 0.44163046181201937, 0.4307525992393494, 0.428487154841423].

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/MONAI/tests/utils.py", line 628, in _wrapper
    raise RuntimeError(res.traceback) from res
RuntimeError: Traceback (most recent call last):
  File "/workspace/MONAI/tests/utils.py", line 580, in run_process
    output = func(*args, **kwargs)
  File "/workspace/MONAI/tests/utils.py", line 660, in _call_original_func
    return f(*args, **kwargs)
  File "/workspace/MONAI/tests/test_integration_segmentation_3d.py", line 301, in test_timing
    self.train_and_infer(idx=3)
  File "/workspace/MONAI/tests/test_integration_segmentation_3d.py", line 284, in train_and_infer
    self.assertTrue(test_integration_value(TASK, key="losses", data=results[:6], rtol=1e-3))
  File "/workspace/MONAI/tests/testing_data/integration_answers.py", line 616, in test_integration_value
    raise ValueError(f"no matched results for {test_name}, {key}. {data}.")
ValueError: no matched results for integration_segmentation_3d, losses. [0.5442982316017151, 0.4741817444562912, 0.4535954713821411, 0.44163046181201937, 0.4307525992393494, 0.428487154841423].


======================================================================
ERROR: test_training (__main__.IntegrationSegmentation3D)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/MONAI/tests/test_integration_segmentation_3d.py", line 293, in test_training
    results = self.train_and_infer(i)
  File "/workspace/MONAI/tests/test_integration_segmentation_3d.py", line 284, in train_and_infer
    self.assertTrue(test_integration_value(TASK, key="losses", data=results[:6], rtol=1e-3))
  File "/workspace/MONAI/tests/testing_data/integration_answers.py", line 616, in test_integration_value
    raise ValueError(f"no matched results for {test_name}, {key}. {data}.")
ValueError: no matched results for integration_segmentation_3d, losses. [0.5442982316017151, 0.4741817444562912, 0.4535954713821411, 0.44163046181201937, 0.4307525992393494, 0.428487154841423].

----------------------------------------------------------------------
Ran 2 tests in 243.671s

FAILED (errors=2)
losses [0.5442982316017151, 0.4741817444562912, 0.4535954713821411, 0.44163046181201937, 0.4307525992393494, 0.428487154841423]
best metric 0.9314384460449219
infer metric 0.9315622448921204
[0.14268704426414708, 0.1528672845845743, 0.1521782248125706, 0.14028769128068194, 0.1889830671664784, 0.16999075690664475, 0.14736282992708227, 0.16877952654821815, 0.15779597155181269, 0.17987829927082263, 0.16320253928314676, 0.16854299322173155, 0.14497470986956967, 0.11437140546369519, 0.1624117412960871, 0.20156009294443875, 0.1764654154256958, 0.0982348259217418, 0.1942436068604293, 0.20359421536407518, 0.19661953116976483, 0.2088326101468625, 0.16273043545239807, 0.1326107887439663, 0.1489245275752285, 0.143107476635514, 0.23189027677929547, 0.1613818424566088, 0.14889532196775188, 0.10332622984492143, 0.11940054688302351, 0.13040496302762658, 0.11472123087193181, 0.15307044007394474, 0.16371989575844717, 0.1942898223272055, 0.2230120930471398, 0.1814679187634795, 0.19069496508164732, 0.07537197031940022]
KumoLiu added a commit to KumoLiu/MONAI that referenced this issue Mar 15, 2024
Signed-off-by: YunLiu <[email protected]>
KumoLiu added a commit that referenced this issue Mar 22, 2024
Fixes #7550


### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: YunLiu <[email protected]>
Co-authored-by: Yiheng Wang <[email protected]>
juampatronics pushed a commit to juampatronics/MONAI that referenced this issue Mar 25, 2024
…NAI#7551)

Fixes Project-MONAI#7550

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: YunLiu <[email protected]>
Co-authored-by: Yiheng Wang <[email protected]>
Signed-off-by: Juan Pablo de la Cruz Gutiérrez <[email protected]>
Yu0610 pushed a commit to Yu0610/MONAI that referenced this issue Apr 11, 2024
…NAI#7551)

Fixes Project-MONAI#7550

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: YunLiu <[email protected]>
Co-authored-by: Yiheng Wang <[email protected]>
Signed-off-by: Yu0610 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant