To edit an ONNX model, One common way is to visualize the model graph, and edit it using ONNX Python API. This works fine. However, we have to code to edit, then visualize to check. The two processes may iterate for many times, which is time-consuming. 👋
To edit an ONNX model, One common way is to visualize the model graph, and edit it using ONNX Python API. This works fine. However, we have to code to edit, then visualize to check. The two processes may iterate for many times, which is time-consuming. 👋
@ -24,6 +22,7 @@ Currently, the following editing operations are supported:
- [x] Edit the attribute of nodes
- [x] Edit the attribute of nodes
- [x] Add new nodes (experimental)
- [x] Add new nodes (experimental)
Here is the [update log](./docs/update_log.md) and [TODO list](./docs/todo_list.md).
Hope it helps!
Hope it helps!
@ -51,8 +50,8 @@ python app.py
Click the url in the output info generated by flask (`http://127.0.0.1:5000/` for example), then `onnx-modifier` will be launched in the web browser.
Click the url in the output info generated by flask (`http://127.0.0.1:5000/` for example), then `onnx-modifier` will be launched in the web browser.
## launch from executable file
## launch from executable file
- Windows: Download [onnx-modifier.exe](https://drive.google.com/file/d/1y7mYlvF0G5iiNDgOFh1ESXlTs8I2ipVQ/view?usp=sharing), double-click it and enjoy.
- Windows: Download [onnx-modifier.exe (27.6MB)](https://drive.google.com/file/d/1y7mYlvF0G5iiNDgOFh1ESXlTs8I2ipVQ/view?usp=sharing), double-click it and enjoy.
- Egde browser is used for viewing by default.
- Edge browser is used for runtime environment by default.
> I recorded how I made the the executable file in `app_desktop.py`. The executable file for other platforms are left for future work.
> I recorded how I made the the executable file in `app_desktop.py`. The executable file for other platforms are left for future work.
@ -153,13 +152,6 @@ For quick testing, some typical sample models are provided as following. Most of
`onnx-modifier` is under active development 🛠. Welcome to use, create issues and pull requests! 🥰
`onnx-modifier` is under active development 🛠. Welcome to use, create issues and pull requests! 🥰
# TODO
- [ ] Create executable file for easier launching for the following platforms: