{"id":24111,"library":"netron","title":"Netron","description":"Netron is a visualizer for neural network, deep learning, and machine learning models. It supports a wide range of model formats (ONNX, TensorFlow, PyTorch, Keras, CoreML, etc.) and runs in the browser or as a local server. Current version is 9.0.5, with irregular releases.","status":"active","version":"9.0.5","language":"python","source_language":"en","source_url":"https://github.com/lutzroeder/netron","tags":["deep-learning","neural-networks","model-visualization","onnx","pytorch","tensorflow"],"install":[{"cmd":"pip install netron","lang":"bash","label":"pip install netron"}],"dependencies":[{"reason":"Required for web server functionality.","package":"flask","optional":true}],"imports":[{"note":"Correct import for the library.","wrong":null,"symbol":"netron","correct":"import netron"}],"quickstart":{"code":"import netron\n# Start Netron to view a specific model file\nnetron.start('model.onnx')","lang":"python","description":"Launches a local web server to visualize a model file."},"warnings":[{"fix":"Check the official list of supported formats; convert model to ONNX or supported format.","message":"Netron does not support all model formats; some exotic or custom layers may fail to visualize.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `netron.start('model.onnx', host='0.0.0.0', port=8080)` and run in a separate thread if needed.","message":"The `start()` function blocks execution; it runs a Flask server until manually stopped.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install netron'.","cause":"netron is not installed.","error":"ModuleNotFoundError: No module named 'netron'"},{"fix":"Specify a different port: netron.start('model.onnx', port=5000).","cause":"Default port 8080 is already occupied.","error":"OSError: [Errno 98] Address already in use"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}