Repolode
lutzroeder

lutzroeder/netron

Viewer for neural network, deep learning and machine learning models, supporting ONNX, TensorFlow, PyTorch, Core ML and many other formats.

Stars
33,595
Forks
3,191
Open issues
18
Last commit
3 days ago

What is it?

Netron is a viewer for neural network, deep learning and machine learning models. It loads a model file and draws its computation graph so developers can inspect layers, operators, tensors and their connections without writing code.

It supports a broad set of formats, including ONNX, TensorFlow Lite, PyTorch, torch.export, ExecuTorch, TorchScript, TensorFlow, Core ML, OpenVINO, Keras, Caffe, Darknet, Safetensors and NumPy. Experimental support covers MLIR, JAX, GGUF, RKNN, ncnn, MNN, PaddlePaddle and scikit-learn.

Netron can be used in a browser at netron.app, as a desktop app on macOS, Linux and Windows, or from Python with pip install netron.

Key features

  • 01Renders model graphs for many frameworks and formats in one viewer.
  • 02Runs in the browser with no installation required.
  • 03Available as desktop apps for macOS, Linux and Windows.
  • 04Can be launched from Python with netron.start().
  • 05Inspects layers, operators and tensor connections in the graph.

Use cases

  • Inspecting the structure of a model received from a colleague or downloaded from a hub.
  • Checking layer connections and operators before converting or deploying a model.
  • Comparing how a model was exported across ONNX, TFLite or Core ML formats.
  • Quickly viewing a model file from a Python script or notebook.

Quick start

  1. 1

    Open the browser version at netron.app

  2. 2

    Install on macOS with Homebrew

    brew install --cask netron
  3. 3

    Install the Python package

    pip install netron
  4. 4

    Open a model file with Netron

    netron [FILE]

Things to know

  • Some formats such as MLIR, JAX, GGUF and scikit-learn have only experimental support.

Topics

FAQ

What is netron?
Viewer for neural network, deep learning and machine learning models, supporting ONNX, TensorFlow, PyTorch, Core ML and many other formats. Netron is a viewer for neural network, deep learning and machine learning models. It loads a model file and draws its computation graph so developers can inspect layers, operators, tensors and their connections without writing code.
Is netron free to use? What license does it have?
netron is open source under the MIT license. Check the license terms before using it in commercial products.
Is netron still maintained?
Actively maintained. The last commit to netron was on Oct 18, 2026.
What can I use netron for?
Inspecting the structure of a model received from a colleague or downloaded from a hub. Checking layer connections and operators before converting or deploying a model. Comparing how a model was exported across ONNX, TFLite or Core ML formats. Quickly viewing a model file from a Python script or notebook.
How do I install netron?
Open the browser version at netron.app Install on macOS with Homebrew: brew install --cask netron Install the Python package: pip install netron Open a model file with Netron: netron [FILE]
Where can I get netron?
The source code and installation instructions are on GitHub: https://github.com/lutzroeder/netron

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects