Skip to content

Unity Barracudaを用いてMNIST(手書き数字認識)をWebGL上で推論するサンプルです。

License

Notifications You must be signed in to change notification settings

Kazuhito00/Unity-Barracuda-MNIST-WebGL-Sample

Repository files navigation

Unity-Barracuda-MNIST-WebGL-Sample

Unity Barracudaを用いてMNIST(手書き数字認識)をWebGL上で推論するサンプルです。
v9g8l-5fqfl

Demo

動作確認用ページは以下。
https://kazuhito00.github.io/Unity-Barracuda-MNIST-WebGL-Sample/WebGL-Build

Requirement (Unity)

  • Unity 2020.1.6f1 or later
  • Barracuda 1.3.0 or later

Requrement (Python) ※MNISTモデルを訓練、ONNX変換をする場合のみ

  • Tensorflow 2.4.0 or later
  • tf2onnx 1.8.2 or later
  • onnxruntime 1.6.0 or later(※ONNX変換後の推論をテストする場合のみ)

ONNXモデル

「MNIST_Tensorflow2ONNX.ipynb」にて、TensorflowによるMNISTの訓練とONNX変換を実施しています。
今回作成したモデルの構造は以下です。

Reference

Author

高橋かずひと(https://twitter.com/KzhtTkhs)

License

Unity-Barracuda-MNIST-WebGL-Sample is under Apache-2.0 License.

About

Unity Barracudaを用いてMNIST(手書き数字認識)をWebGL上で推論するサンプルです。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published