Closed3

tractで自前のONNXを動かしてみる

higumachanhigumachan
ghq get git@github.com:sonos/tract.git
cd ~/repos/ghq/sonos/tract
cd examples/onnx-mobilenet-v2
wget https://github.com/onnx/models/raw/master/vision/classification/mobilenet/model/mobilenetv2-7.onnx
cargo run # (--release)

でとりあえず、ONNXの適当なモデルは動くことがわかった。

higumachanhigumachan

自分のPCだとreleaseビルドがエグいぐらいに遅い。

    Finished release [optimized] target(s) in 5m 59s
このスクラップは4ヶ月前にクローズされました