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

test_convert_to_onnx failed #8353

Open
KumoLiu opened this issue Feb 19, 2025 · 1 comment
Open

test_convert_to_onnx failed #8353

KumoLiu opened this issue Feb 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@KumoLiu
Copy link
Contributor

KumoLiu commented Feb 19, 2025

[2025-02-18T17:49:55.436Z] ======================================================================

[2025-02-18T17:49:55.436Z] ERROR: test_unet_2_cpu (tests.networks.test_convert_to_onnx.TestConvertToOnnx)

[2025-02-18T17:49:55.436Z] ----------------------------------------------------------------------

[2025-02-18T17:49:55.436Z] Traceback (most recent call last):

[2025-02-18T17:49:55.436Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T17:49:55.436Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T17:49:55.436Z]   File "/opt/monai/tests/networks/test_convert_to_onnx.py", line 67, in test_unet

[2025-02-18T17:49:55.436Z]     self.assertTrue(isinstance(onnx_model, onnx.ModelProto))

[2025-02-18T17:49:55.436Z] UnboundLocalError: local variable 'onnx_model' referenced before assignment

[2025-02-18T17:49:55.436Z] 

[2025-02-18T17:49:55.436Z] ======================================================================

[2025-02-18T17:49:55.436Z] ERROR: test_unet_3_cpu (tests.networks.test_convert_to_onnx.TestConvertToOnnx)

[2025-02-18T17:49:55.436Z] ----------------------------------------------------------------------

[2025-02-18T17:49:55.436Z] Traceback (most recent call last):

[2025-02-18T17:49:55.436Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T17:49:55.436Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T17:49:55.436Z]   File "/opt/monai/tests/networks/test_convert_to_onnx.py", line 67, in test_unet

[2025-02-18T17:49:55.436Z]     self.assertTrue(isinstance(onnx_model, onnx.ModelProto))

[2025-02-18T17:49:55.436Z] UnboundLocalError: local variable 'onnx_model' referenced before assignment

[2025-02-18T17:49:55.436Z] 

[2025-02-18T17:49:55.436Z] ======================================================================

[2025-02-18T17:49:55.436Z] ERROR: test_unet_6_cuda (tests.networks.test_convert_to_onnx.TestConvertToOnnx)

[2025-02-18T17:49:55.436Z] ----------------------------------------------------------------------

[2025-02-18T17:49:55.436Z] Traceback (most recent call last):

[2025-02-18T17:49:55.436Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T17:49:55.437Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T17:49:55.437Z]   File "/opt/monai/tests/networks/test_convert_to_onnx.py", line 67, in test_unet

[2025-02-18T17:49:55.437Z]     self.assertTrue(isinstance(onnx_model, onnx.ModelProto))

[2025-02-18T17:49:55.437Z] UnboundLocalError: local variable 'onnx_model' referenced before assignment

[2025-02-18T17:49:55.437Z] 

[2025-02-18T17:49:55.437Z] ======================================================================

[2025-02-18T17:49:55.437Z] ERROR: test_unet_7_cuda (tests.networks.test_convert_to_onnx.TestConvertToOnnx)

[2025-02-18T17:49:55.437Z] ----------------------------------------------------------------------

[2025-02-18T17:49:55.437Z] Traceback (most recent call last):

[2025-02-18T17:49:55.437Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T17:49:55.437Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T17:49:55.437Z]   File "/opt/monai/tests/networks/test_convert_to_onnx.py", line 67, in test_unet

[2025-02-18T17:49:55.437Z]     self.assertTrue(isinstance(onnx_model, onnx.ModelProto))

[2025-02-18T17:49:55.437Z] UnboundLocalError: local variable 'onnx_model' referenced before assignment
@KumoLiu KumoLiu added the bug Something isn't working label Feb 19, 2025
@KumoLiu
Copy link
Contributor Author

KumoLiu commented Feb 19, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant