Giter Site home page Giter Site logo

lutzroeder / netron Goto Github PK

View Code? Open in Web Editor NEW
25.8K 296.0 2.6K 50.95 MB

Visualizer for neural network, deep learning and machine learning models

Home Page: https://netron.app

License: MIT License

JavaScript 96.63% Python 1.78% HTML 0.78% CSS 0.10% Shell 0.71%
neural-network deep-learning machine-learning deeplearning machinelearning ai ml visualizer onnx keras

netron's People

Contributors

lutzroeder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netron's Issues

import netron error

import onnx
import netron

#netron.serve_file("output/alexnet.onnx")

Load the ONNX model

model = onnx.load("output/alexnet.onnx")

Check that the IR is well formed

#onnx.checker.check_model(model)

Print a human readable representation of the graph

#print(onnx.helper.printable_graph(model.graph))


ImportError Traceback (most recent call last)
in ()
1 import onnx
----> 2 import netron
3
4 #netron.serve_file("output/alexnet.onnx")
5 # Load the ONNX model

/usr/local/lib/python3.5/dist-packages/netron/init.py in ()
1 #!/usr/bin/python
2
----> 3 from netron import serve_data
4 from netron import serve_file

ImportError: cannot import name 'serve_data'

wrong python path in virtualenv

Hi,

I use virtualenv and when I install netron, the python path is wrong in the netron executable script. I have to change that first line in the netron script (which indicates where python is located) to the python executable in the virtualenv. Just to let you know this could be a nuisance for others using virtualenv...

Best wishes,
Tian Jin.

Search

When dealing with a large graph, it would be great to hit Ctrl-F/Cmd-F and open a search dialog.

All operations matching search could be highlighted in the graph, if only one is found zoom and pan could bring it into focus.

It would be great to search by name, but attribute values, operation types, etc. could also generate matches.

error when use 2 click + shift key over an element

When you do doble click over an element and you have the shift key pressed... create an error:

This is the info that I can get from the browser:

"Line: 1203
Error: Unable to get value of the property 'hitTest': object is null or undefined"

DP: Sorry my English isn't very good.

Background Grid

I'm wonder wit thise code... is amazing. I have a version with the posibility to add a background grid and the color of the grid can be changed.

Don't see how i cand send you. But if you are interested i can e-mail to yo.

Thanks!

DP: Sorry my english isn't very good!

No Declared License

Could you declare a license for this project? This project cannot be used without an open source license, so if you could update the project with your intended license, that would be great.

why build fail

root@instance-1:/opt/jupyter/study_pytorch/lpth/important_rnn/onnx/Netron-1.1.0# python3 setup.py build
running build
running build_py
error: can't copy 'node_modules/protobufjs/dist/protobuf.js': doesn't exist or not a regular file

Colors

It would be great to use some colors to add more information to the visual representation of graph. Constants could be one color, activation functions another color, etc.

ONNX support

90 degrees connector?

This example is very beatifull... but i can't have the skills to understand this code, to do it my self.

Can you add a 90ΒΊ between entities? because if you add so much entities the connector lines can be confused between entities.

DP: sorry my english isn't very good.

Attribute values showing up as 0

Hi there, this is a really nice tool.

I noticed an issue with the way attribute values are displayed.

Take a look at this file (exported from CNTK): CNTK-ConvNet-trained.pb.zip

Notice the node Plus30 and its attribures broadcast, axis. They both show up as 0 in Netron, even though they should both be set to 1.

Similarly many Constant ops in the graph have different value attributes, but they all show up as 0.

Using version 0.6.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.