fix: get_nb_inputs()
Context
aidge_core.aidge_core.Node object has no attribute get_data_inputs
which causes an AttributeError #52 (closed)
Traceback (most recent call last):
File "export.py", line 280, in <module>
aidge_onnx.export_onnx(
File "env/lib/python3.10/site-packages/aidge_onnx/onnx_export.py", line 258, in export_onnx
f"Graph input: {old_io_names[aidge_node]} has been described with {len(inputs_dims[old_io_names[aidge_node]])} inputs but it has {aidge_node.get_data_inputs().size()} inputs.")
AttributeError: 'aidge_core.aidge_core.Node' object has no attribute 'get_data_inputs'. Did you mean: 'get_nb_inputs'?
Modified files
- modified
aidge_onnx/onnx_export.py
Detailed major modifications
- change
get_data_inputs().size()
toget_nb_inputs()
Edited by Nathan Thoumine