Back to services

Netron

Visualizer for neural network and machine learning models.

View alternatives to Netron
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Netron is developed and open-sourced by Lutz Roeder, and its official tagline is "a visualizer for neural network, deep learning and machine learning models." When you open a model file, it displays an interactive computation graph, lets you browse the network structure, and shows detailed information for each node. The version shown on the official website at the time of crawling was 9.3.3.

Key Features

  • Model structure visualization: Draws the model as a computation graph, showing layers, operators, and the connections between them.
  • Node detail inspection: Click a node to see its attributes, inputs and outputs, and tensor shapes. You can also view weight data.
  • Support for many model formats: Common formats include ONNX, TensorFlow Lite, Core ML, Keras, Caffe, Darknet, PyTorch, TensorFlow.js, Safetensors, and more. Some formats have only experimental support. Supported formats change between versions, so refer to the GitHub repository's documentation.
  • Subgraph and function browsing: When a model contains multiple graphs or functions, you can switch between them.
  • Search and export: You can search for nodes by name and export the computation graph as an image.

Target Users and Use Cases

Suited to machine learning engineers, algorithm researchers, model deployment and inference optimization engineers, and students learning deep learning. Common uses:

  • Checking that the structure is correct after converting a model (for example, PyTorch to ONNX or TensorFlow to TFLite).
  • Confirming the input and output names, shapes, and data types when you receive a third-party model.
  • Finding unsupported operators before deploying to mobile or edge devices.
  • Presenting network structures in teaching or technical discussions.

Core Strengths

  • No installation needed: Open netron.app in your browser and select a local model file to view it.
  • Cross-platform: Besides the online version, there are a desktop app and a Python package.
  • Free and open source: The source code is hosted on GitHub (lutzroeder/netron).
  • Lightweight and easy to pick up: The interface is clean, and you can browse a model as soon as you open it, with almost nothing to learn.

Usage and Installation

  • Online: Go to https://netron.app/ and click "Open Model…" to select a local model file.
  • Desktop app: The GitHub Releases page provides installers for macOS, Windows, and Linux.
  • Python: Install with pip install netron, then run netron followed by the model file path on the command line, or call netron.start() in Python code to open the model and view it in the browser.

Notable Characteristics

  • Netron is a viewing tool. It cannot be used to train models or modify model structures.
  • Some formats have only experimental support, so complex models may not display completely.