Skip to content
/ netron Public
forked from lutzroeder/netron

Visualizer for neural network, deep learning, and machine learning models

License

Notifications You must be signed in to change notification settings

xwcoder/netron

 
 

Repository files navigation

Netron

The original document is here.

Project Introduction

netron-node.js

You can use this Node.js tool to parse model and serialize the parsing result to JSON. Then you can use the serialized JSON for visualization in the browser.

Usage

node source/node.js -d ./input/models -o ./dist/
  • -d: The directory that contains the model files. This tool will search the specified directory and subdirectories recursively.
  • -o: The output directory.

The outpu JSON file is in gzip format.

View

You can start a web server to serve the resources in the source directory. Then load the index.html with the url param to specify the JSON file that is in gzip format.

Example:

cd source && python -m http.server

Open the url http://localhost:8000/?url=/model.onnx.json.gz

Release branch

The release branch will follow the latest tag of upstream.

About

Visualizer for neural network, deep learning, and machine learning models

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 96.5%
  • Python 1.9%
  • Other 1.6%