-
Notifications
You must be signed in to change notification settings - Fork 1.5k
conda test errors: test_matshow3d #4011
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
======================================================================
FAIL: test_samples (tests.test_matshow3d.TestMatshow3d)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/MONAI/MONAI/tests/test_matshow3d.py", line 70, in test_samples
np.testing.assert_allclose(comp["rms"], 30.786983, atol=1e-3, rtol=1e-3)
File "/usr/local/miniconda/envs/monai/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 1530, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/usr/local/miniconda/envs/monai/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 844, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.001, atol=0.001
Mismatched elements: 1 / 1 (100%)
Max absolute difference: 4.74991119
Max relative difference: 0.1542831
x: array(26.037072)
y: array(30.786983)
======================================================================
FAIL: test_plot (tests.test_threadcontainer.TestThreadContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/MONAI/MONAI/tests/test_threadcontainer.py", line 107, in test_plot
self.assertIsNone(comp, comp) # None indicates test passed
AssertionError: 'Error: Image files did not match.\n RMS Value: 28.09905059190909\n Expected: \n /Users/runner/work/MONAI/MONAI/tests/testing_data/threadcontainer_plot_test.png\n Actual: \n /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpav42fn_w/threadcontainer_plot_test.png\n Difference:\n /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpav42fn_w/threadcontainer_plot_test-failed-diff.png\n Tolerance: \n 0.05' is not None : Error: Image files did not match.
RMS Value: 28.09905059190909
Expected:
/Users/runner/work/MONAI/MONAI/tests/testing_data/threadcontainer_plot_test.png
Actual:
/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpav42fn_w/threadcontainer_plot_test.png
Difference:
/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpav42fn_w/threadcontainer_plot_test-failed-diff.png
Tolerance:
0.05
----------------------------------------------------------------------
Ran 5904 tests in 1950.197s
FAILED (failures=2, skipped=355)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working