An open API service indexing awesome lists of open source software.

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.

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
}
```