3
ONNXハンズオン
● Pythonで⼿書き⽂字を認識するモデルをPytorchで学習し、Javascriptのwebアプリ上
から推論を⾏う
○ サンプルのレポジトリ:
[email protected]:kakky-hacker/sandbox.git
● ⼿順
○ git clone
[email protected]:kakky-hacker/sandbox.git
○ cd sandbox/onnx-test
○ pip install -r requirements.txt
○ python train.py
■ mnist.onnxが⽣成される
○ python -m http.server 8000
○ ブラウザからhttp://localhost:8000にアクセス