ZhangGe6 / onnx-modifier

A tool to modify ONNX models in a visualization fashion, based on Netron and Flask.
MIT License
1.33k stars 165 forks source link

Download/Save fails if outputs have been added (requirements.txt) #56

Closed mcusgithub closed 1 year ago

mcusgithub commented 1 year ago

Thank you for this great utility. Unfortunately, I can't get onnx-modifier to save a model if one or more outputs have been added. Other features work
as expected though (deleting nodes, etc.). To reproduce:

mcusgithub commented 1 year ago

I actually solved the issue: The problem was with the onnx packages version number. Maybe requirements.txt should be added to the repository to indicate the required version numbers in order to avoid this issue. Thank you.

Note: I'm currently using:

ZhangGe6 commented 1 year ago

@mcusgithub Thanks for the suggestion! A requirements.txt has been added.