talira

Visualizer for neural network, deep learning and machine learning models

open sourceMITself-hostablefree

Netron is a viewer for neural network, deep learning and machine learning models that draws a model's graph of layers and operators and shows each node's attributes, inputs, outputs and weights. It opens ONNX, TensorFlow Lite, PyTorch (torch.export, ExecuTorch, TorchScript), TensorFlow, Core ML, OpenVINO, Keras, Caffe, Darknet, Safetensors and NumPy files, with experimental support for MLIR, JAX, GGUF, RKNN, ncnn, MNN, PaddlePaddle and scikit-learn. It runs in the browser at netron.app, where models are opened from your machine or a URL, as a desktop app for macOS, Windows and Linux, or from Python with pip install netron, which serves the viewer for a file from the command line or a script. It's MIT licensed and made by Lutz Roeder.

Problems it solves

  • see the layers and architecture of an ONNX model I downloaded
  • inspect the input and output shapes of a TensorFlow Lite model before deploying it to a phone
  • visualize a PyTorch model's graph to debug a conversion
  • check what operators a Core ML or OpenVINO model uses
  • open a .safetensors or GGUF file and look at its tensors
  • a quick way to view a neural network file in the browser without installing anything
  • show a model's graph from my Python script or notebook
  • compare a model before and after exporting it to ONNX

Features

  • graph view of layers and operators with node attributes, inputs, outputs and weights
  • ONNX, TensorFlow Lite, PyTorch, torch.export, ExecuTorch, TorchScript, TensorFlow, Core ML, OpenVINO, Keras, Caffe, Darknet, Safetensors and NumPy
  • experimental MLIR, JAX, GGUF, RKNN, ncnn, MNN, PaddlePaddle and scikit-learn support
  • browser version at netron.app that opens local files or a model URL
  • desktop apps for macOS (.dmg, Homebrew cask), Windows (installer, winget) and Linux (.deb, .rpm)
  • Python package: netron [FILE] from the command line or netron.start() from code

Capabilities

Has a command line toolplan not known