NormanTrinh / onnx_simpler

simplify, fix bug, ... onnx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Onnx fixing

SOURCES + EXPLANATION:

REQUIREMENTS:

python3 -m pip install onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com
pip install onnxsim colored

ERROR: inputs.at(1).is_weights()

polygraphy surgeon sanitize --fold-constants <onnx_file> -o <output_onnx_file>

simplify onnx

onnxsim <onnx_file> <output_onnx_file>

About

simplify, fix bug, ... onnx