Failling aidge_onnx tests on multiple operators
Hi,
Currently running pytest
on aidge_onnx creates the following error :
========================================== test session starts ===========================================
platform linux -- Python 3.8.19, pytest-8.2.2, pluggy-1.5.0
rootdir: /home/greg/workspace/cea/aidge_group/aidge/aidge/aidge_onnx
configfile: pyproject.toml
plugins: anyio-4.3.0
collected 0 items / 11 errors
================================================= ERRORS =================================================
___________________ ERROR collecting aidge_onnx/unit_tests/test_converter_register.py ____________________
unit_tests/test_converter_register.py:2: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
_________________________ ERROR collecting aidge_onnx/unit_tests/test_generic.py _________________________
unit_tests/test_generic.py:2: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
______________________ ERROR collecting aidge_onnx/unit_tests/test_import_export.py ______________________
unit_tests/test_import_export.py:2: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
_________________________ ERROR collecting aidge_onnx/unit_tests/test_models.py __________________________
unit_tests/test_models.py:2: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
________________________ ERROR collecting aidge_onnx/unit_tests/test_node_conv.py ________________________
unit_tests/test_node_conv.py:2: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
___________________ ERROR collecting aidge_onnx/unit_tests/test_onnx_models_import.py ____________________
unit_tests/test_onnx_models_import.py:19: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
_______________ ERROR collecting aidge_onnx/unit_tests/test_onnx_models_import_forward.py ________________
unit_tests/test_onnx_models_import_forward.py:21: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
____________________ ERROR collecting aidge_onnx/unit_tests/test_onnx_nodes_import.py ____________________
unit_tests/test_onnx_nodes_import.py:19: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resi
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: in
E TypeError: 'type' object is not subscriptable
________________ ERROR collecting aidge_onnx/unit_tests/test_onnx_nodes_import_forward.py ________________
unit_tests/test_onnx_nodes_import_forward.py:21: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resize.py:22: in <module>
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: int = None) -> aidge_core.Node:
E TypeError: 'type' object is not subscriptable
____________________ ERROR collecting aidge_onnx/unit_tests/test_unit_cases_import.py ____________________
unit_tests/test_unit_cases_import.py:18: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <module>
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resize.py:22: in <module>
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: int = None) -> aidge_core.Node:
E TypeError: 'type' object is not subscriptable
________________ ERROR collecting aidge_onnx/unit_tests/test_unit_cases_import_forward.py ________________
unit_tests/test_unit_cases_import_forward.py:20: in <module>
import aidge_onnx
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/__init__.py:10: in <module>
from . import node_import
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/__init__.py:11: in <module>
from .onnx_converters import *
/home/greg/miniconda3/envs/pyaidge/lib/python3.8/site-packages/aidge_onnx/node_import/onnx_converters/resize.py:22: in <module>
def import_resize(onnx_node: onnx.NodeProto, input_nodes: List[tuple[aidge_core.Node, int]], opset: int = None) -> aidge_core.Node:
E TypeError: 'type' object is not subscriptable
======================================== short test summary info =========================================
ERROR unit_tests/test_converter_register.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_generic.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_import_export.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_models.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_node_conv.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_onnx_models_import.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_onnx_models_import_forward.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_onnx_nodes_import.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_onnx_nodes_import_forward.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_unit_cases_import.py - TypeError: 'type' object is not subscriptable
ERROR unit_tests/test_unit_cases_import_forward.py - TypeError: 'type' object is not subscriptable
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 11 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=========================================== 11 errors in 0.28s ===========================================
This requires a small fix, its just typing error.
However once this is cleared, this show another bigger error :
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_uint4/0] - ValueError: Number of values does not match tensor's size. Expected 2.5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_e4m3fn_zero_point/0] - ValueError: Number of values does not match tensor's size. Expected 5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_e5m2/0] - ValueError: Number of values does not match tensor's size. Expected 5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_e4m3fn_float16/0] - ValueError: Number of values does not match tensor's size. Expected 5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_blocked/0] - AssertionError: GenericOperatorOp for node y of type DequantizeLinear
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_int4/0] - ValueError: Number of values does not match tensor's size. Expected 2.5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[dequantizelinear/dequantizelinear_e4m3fn/0] - ValueError: Number of values does not match tensor's size. Expected 5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_negative_axis3/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_axis1/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_negative_axis2/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_default_axis/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_axis0/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_axis3/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_axis2/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_negative_axis1/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[flatten/flatten_negative_axis4/0] - AssertionError: GenericOperatorOp for node b of type Flatten
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[pad/edge_pad/0] - AssertionError: GenericOperatorOp for node y of type Pad
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[pad/constant_pad/0] - AssertionError: GenericOperatorOp for node y of type Pad
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[pad/wrap_pad/0] - AssertionError: GenericOperatorOp for node y of type Pad
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[pad/reflect_pad/0] - AssertionError: GenericOperatorOp for node y of type Pad
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[qlinearconv/qlinearconv/0] - AssertionError: GenericOperatorOp for node y of type QLinearConv
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[quantizelinear/quantizelinear_int4/0] - ValueError: Number of values does not match tensor's size. Expected 1.5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[quantizelinear/quantizelinear_blocked_asymmetric/0] - AssertionError: GenericOperatorOp for node y of type QuantizeLinear
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[quantizelinear/quantizelinear_e5m2/0] - ValueError: Number of values does not match tensor's size. Expected 1, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[quantizelinear/quantizelinear_uint4/0] - ValueError: Number of values does not match tensor's size. Expected 1.5, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[quantizelinear/quantizelinear_e4m3fn/0] - ValueError: Number of values does not match tensor's size. Expected 1, but it is 0.
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[quantizelinear/quantizelinear_blocked_symmetric/0] - AssertionError: GenericOperatorOp for node y of type QuantizeLinear
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_nearest_not_smaller/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest_round_prefer_ceil_asymmetric/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_cubic/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_cubic/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_tf_crop_and_resize/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_tf_crop_and_resize_axes_2_3/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_linear_half_pixel_symmetric/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_cubic_antialias/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_cubic/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_linear_align_corners/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_linear/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_nearest_axes_3_2/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest_not_larger/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_nearest_not_larger/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_cubic_align_corners/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_cubic_antialias/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_cubic_align_corners/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_linear/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest_axes_3_2/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_linear_antialias/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_cubic/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_cubic_A_n0p5_exclude_outside/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_nearest/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_cubic_asymmetric/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_linear_pytorch_half_pixel/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest_axes_2_3/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_linear_antialias/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_nearest/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest_ceil_half_pixel/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_cubic_A_n0p5_exclude_outside/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_linear_align_corners/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_scales_linear_half_pixel_symmetric/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_scales_nearest_axes_2_3/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_downsample_sizes_nearest/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_tf_crop_and_resize_axes_3_2/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import.py::test_onnx_import_nodes[resize/resize_upsample_sizes_nearest_floor_align_corners/0] - AssertionError: GenericOperatorOp for node Y of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[depthtospace/depthtospace_crd_mode_example/0] - RuntimeError: Cannot resize Tensor with shared storage
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[depthtospace/depthtospace_example/0] - RuntimeError: Cannot resize Tensor with shared storage
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_uint4/0] - onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from .cache_onnx_sources/cache_https___github_com_onnx_onnx_v1_16_2/onnx-1.16.2/onnx/backend/test/data/node/test_de...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_e4m3fn_zero_point/0] - onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(Float8E4M3FN))
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_e5m2/0] - onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(Float8E5M2))
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear/0] - RuntimeError: missing or invalid registrar key: [UInt8, Default, [(4, 4)], Int64, Default, [(1, 1)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Sub_OpEFvSt6vectorImSaImEES4_R...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_e4m3fn_float16/0] - onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(Float8E4M3FN))
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_blocked/0] - onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running DequantizeLinear node. Name:'' Status Message: /onnxrunti...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_axis/0] - RuntimeError: missing or invalid registrar key: [UInt8, Default, [(1, 1), (3, 3), (3, 3), (2, 2)], UInt8, Default, [(3, 3)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Sub_Op...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_uint16/0] - RuntimeError: missing or invalid registrar key: [UInt16, Default, [(4, 4)], Int64, Default, [(1, 1)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Sub_OpEFvSt6vectorImSaImEES4_...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_int16/0] - RuntimeError: missing or invalid registrar key: [Int16, Default, [(4, 4)], Int64, Default, [(1, 1)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Sub_OpEFvSt6vectorImSaImEES4_R...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_int4/0] - onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from .cache_onnx_sources/cache_https___github_com_onnx_onnx_v1_16_2/onnx-1.16.2/onnx/backend/test/data/node/test_de...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[dequantizelinear/dequantizelinear_e4m3fn/0] - onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(Float8E4M3FN))
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_negative_axis3/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_axis1/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_negative_axis2/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_default_axis/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_axis0/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_axis3/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_axis2/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_negative_axis1/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[flatten/flatten_negative_axis4/0] - RuntimeError: forward() not implemented yet for operator of type Flatten
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[lrn/lrn/0] - AssertionError: out #0 mismatch: [[[[ 1.2472647 0.2829531 0.6920608 1.5843561 1.3204386 ]
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[lrn/lrn_default/0] - AssertionError: out #0 mismatch: [[[[ 1.763822 0.40015557 0.9787137 2.2404802 1.8672944 ]
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[qlinearconv/qlinearconv/0] - RuntimeError: forward() not implemented yet for operator of type QLinearConv
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_int4/0] - onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from .cache_onnx_sources/cache_https___github_com_onnx_onnx_v1_16_2/onnx-1.16.2/onnx/backend/test/data/node/test_qu...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_blocked_asymmetric/0] - onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running QuantizeLinear node. Name:'' Status Message: /onnxruntime...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear/0] - RuntimeError: missing or invalid registrar key: [Float32, Default, [(6, 6)], Float64, Default, [(1, 1)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Div_OpEFvmmmPKvS3_PvEFvvEEE
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_e5m2/0] - onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(Float8E5M2))
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_uint4/0] - onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from .cache_onnx_sources/cache_https___github_com_onnx_onnx_v1_16_2/onnx-1.16.2/onnx/backend/test/data/node/test_qu...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_e4m3fn/0] - onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(Float8E4M3FN))
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_axis/0] - RuntimeError: Incompatible Tensor shape for Div Operation: [1, 3, 3, 2] for input#0 vs [3] for input#1
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_int16/0] - RuntimeError: missing or invalid registrar key: [Float32, Default, [(16, 16)], Float64, Default, [(1, 1)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Div_OpEFvmmmPKvS3_PvEFvvEEE
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_blocked_symmetric/0] - onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running QuantizeLinear node. Name:'' Status Message: /onnxruntime...
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[quantizelinear/quantizelinear_uint16/0] - RuntimeError: missing or invalid registrar key: [Float32, Default, [(12, 12)], Float64, Default, [(1, 1)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_6Div_OpEFvmmmPKvS3_PvEFvvEEE
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_nearest_not_smaller/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest_round_prefer_ceil_asymmetric/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_cubic/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_cubic/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_tf_crop_and_resize/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_tf_crop_and_resize_axes_2_3/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_linear_half_pixel_symmetric/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_cubic_antialias/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_cubic/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_linear_align_corners/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_linear/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_nearest_axes_3_2/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest_not_larger/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_nearest_not_larger/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_cubic_align_corners/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_cubic_antialias/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_cubic_align_corners/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_linear/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest_axes_3_2/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_linear_antialias/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_cubic/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_cubic_A_n0p5_exclude_outside/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_nearest/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_cubic_asymmetric/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_linear_pytorch_half_pixel/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest_axes_2_3/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_linear_antialias/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_nearest/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest_ceil_half_pixel/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_cubic_A_n0p5_exclude_outside/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_linear_align_corners/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_scales_linear_half_pixel_symmetric/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_scales_nearest_axes_2_3/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_downsample_sizes_nearest/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_tf_crop_and_resize_axes_3_2/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_onnx_nodes_import_forward.py::test_onnx_import_nodes_forward[resize/resize_upsample_sizes_nearest_floor_align_corners/0] - RuntimeError: forward() not implemented yet for operator of type Resize
FAILED unit_tests/test_unit_cases_import.py::test_import[lstm] - AssertionError: unexpected number of inputs
TODO
- AvgPool
- MaxPool
- Gemm
- Pad
- lrn
- Sum
- QuantizeLinear
- DequantizeLinear
- flatten
- qlinearconv
- resize