|
|
@@ -5,9 +5,28 @@ Netron is a viewer for [ONNX](http://onnx.ai) neural network models.
|
|
|
|
|
|
<p align='center'><a href='https://www.lutzroeder.com/ai'><img src='media/screenshot.png' width='800'></a></p>
|
|
|
|
|
|
-
|
|
|
## Getting Started
|
|
|
|
|
|
-Download and install Netron from [here](https://github.com/lutzroeder/Netron/releases).
|
|
|
+Download and install the Netron app for Windows, macOS or Linux from [here](https://github.com/lutzroeder/Netron/releases).
|
|
|
|
|
|
Download example ONNX models [here](https://github.com/onnx/models).
|
|
|
+
|
|
|
+## Python Model Server
|
|
|
+
|
|
|
+Install the Python web server using pip:
|
|
|
+```
|
|
|
+pip install netron
|
|
|
+```
|
|
|
+
|
|
|
+Launch the model server and open web browser:
|
|
|
+
|
|
|
+```
|
|
|
+netron --browse my_model.onnx
|
|
|
+```
|
|
|
+
|
|
|
+To serve a model from Python code:
|
|
|
+```
|
|
|
+import netron
|
|
|
+
|
|
|
+netron.serve_file('my_model.onnx', browse=True)
|
|
|
+```
|