Open haojin2 opened 1 year ago
Describe the bug https://github.com/ThanatosShinji/onnx-tool/blob/main/onnx_tool/__main__.py#L93
To Reproduce Just run a model profile with the main.py like: python3 -m onnx_tool -m profile -i model.onnx
python3 -m onnx_tool -m profile -i model.onnx
Do you mean need more args for model profile using from console?
No, you need to remove , dump_outputs=args.names to make it work, otherwise you're providing an extra argument into that function call
, dump_outputs=args.names
Describe the bug https://github.com/ThanatosShinji/onnx-tool/blob/main/onnx_tool/__main__.py#L93
To Reproduce Just run a model profile with the main.py like:
python3 -m onnx_tool -m profile -i model.onnx