@ -58,6 +57,24 @@ Click the url in the output info generated by flask (`http://127.0.0.1:5000/` fo
Click `Open Model...` to upload the ONNX model to edit. The model will be parsed and shown on the page.
## launch from a docker container
We create a docker container like this:
```bash
docker build --file Dockerfile . -t onnx-modifier
```
After building the container, we run onnx-modifier from it by mapping docker port 5000 to host port 5000
```bash
docker run -d -t --name onnx-modifier -p 5000:5000 onnx-modifier
```
Then we have access to onnx-modifer from URL <http://127.0.0.1:5000>.
# Usage
Graph-level-operation elements are placed on the left-top of the page. Currently, there are four buttons: `Refresh`, `Reset`, `Download` and `Add node`. They can do:
- `Refresh`: Refresh the model graph to preview editing effects.