Netron is a viewer for neural network and machine learning models.
Netron loads ONNX models (.onnx or .pb), Keras models (.keras, .h5 or .json) and TensorFlow Lite models (.tflite) and has experimental support for TensorFlow models (.pb and .meta).
macOS
Download the .dmg file or with Homebrew run brew cask install netron
Linux
Download the .AppImage or .deb file. The .AppImage needs to be made executable after download.
Windows
Download the .exe file.
Below are a few model files you can download and open:
ONNX Models
TensorFlow Lite Models
TensorFlow models
To run Netron in a web browser, install the Python web server using pip:
pip install netron
Launch the model server:
netron my_model.onnx
To serve a model from Python code:
import netron
netron.serve_file('my_model.onnx')

