when running
python -m onnxoptimizer input.onnx out
on the attached .onnx file. I get
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.8/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/python@3.8/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/bas/src/tetra/tetra-dev/lib/python3.8/site-packages/onnxoptimizer/__main__.py", line 15, in <module>
main()
[input.onnx.zip](https://github.com/onnx/optimizer/files/11379347/input.onnx.zip)
File "/Users/bas/src/tetra/tetra-dev/lib/python3.8/site-packages/onnxoptimizer/onnxoptimizer_main.py", line 84, in main
onnx.checker.check_model(output_file)
File "/Users/bas/src/tetra/tetra-dev/lib/python3.8/site-packages/onnx/checker.py", line 108, in check_model
C.check_model_path(model, full_check)
onnx.onnx_cpp2py_export.checker.ValidationError: Field 'type' of 'value_info' is required but missing.
this is with
onnxoptimizer==0.3.13
onnx==1.13.1
this happens on all models with a SequenceConstruct layer
when running
python -m onnxoptimizer input.onnx out
on the attached .onnx file. I getthis is with onnxoptimizer==0.3.13 onnx==1.13.1
this happens on all models with a SequenceConstruct layer
input.onnx.zip