https://github.com/wolanx/react-netron
View Neural Network model with graphs.
https://github.com/wolanx/react-netron
netron
Last synced: 5 months ago
JSON representation
View Neural Network model with graphs.
- Host: GitHub
- URL: https://github.com/wolanx/react-netron
- Owner: wolanx
- License: mit
- Created: 2023-07-26T15:38:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-10-05T12:55:12.000Z (8 months ago)
- Last Synced: 2025-11-06T09:08:37.986Z (7 months ago)
- Topics: netron
- Language: JavaScript
- Homepage: https://wolanx.github.io/react-netron/
- Size: 921 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-netron
> netron via react
- Demo https://wolanx.github.io/react-netron
- Docs https://wolanx.github.io/react-netron/docs/intro
# Intro
View Neural Network model with graphs.
## Install
```shell
# https://www.npmjs.com/package/@wolanx/react-netron
npm i @wolanx/react-netron
```
## Prepare file
- download https://github.com/onnx/models/blob/main/vision/classification/mnist/model/mnist-12.onnx
## Demo - open with button
```jsx
export default function Demo1 () {
const ref = useRef(null)
return (
ref.current?.open()}>Open Model...
)
}
```
## Demo - open with link
```jsx
export default function Demo2 () {
const file = useOnnx('./model/demo.onnx')
return
}
```