-
Notifications
You must be signed in to change notification settings - Fork 1.5k
test_retinanet test_onnx_6 #6392
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
======================================================================
FAIL: test_onnx_6 (tests.test_retinanet.TestRetinaNet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/parameterized/parameterized.py", line 620, in standalone_func
return func(*(a + p.args), **p.kwargs, **kw)
File "/__w/MONAI/MONAI/tests/test_retinanet.py", line 186, in test_onnx
test_onnx_save(backbone, data, rtol=1e-3, atol=0.1)
File "/__w/MONAI/MONAI/tests/utils.py", line 759, in test_onnx_save
convert_to_onnx(
File "/__w/MONAI/MONAI/monai/networks/utils.py", line 675, in convert_to_onnx
torch.testing.assert_allclose(r1.cpu(), r2, rtol=rtol, atol=atol)
File "/opt/conda/lib/python3.8/site-packages/torch/testing/_comparison.py", line 1553, in assert_allclose
torch.testing.assert_close(
File "/opt/conda/lib/python3.8/site-packages/torch/testing/_comparison.py", line 1511, in assert_close
raise error_metas[0].to_error(msg)
AssertionError: Tensor-likes are not close!
Mismatched elements: 1 / 9 (11.1%)
Greatest absolute difference: 29.5 at index (1, 2) (up to 0.1 allowed)
Greatest relative difference: 0.0011425915525688944 at index (1, 2) (up to 0.001 allowed)
----------------------------------------------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working