Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tkat0/chainer-nnvm-example
https://github.com/tkat0/chainer-nnvm-example
chainer nnvm onnx tvm
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tkat0/chainer-nnvm-example
- Owner: tkat0
- License: mit
- Created: 2017-12-18T19:55:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:40:57.000Z (11 months ago)
- Last Synced: 2024-10-10T19:09:07.108Z (about 1 month ago)
- Topics: chainer, nnvm, onnx, tvm
- Language: Python
- Size: 61.3 MB
- Stars: 19
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chainer-NNVM-Example
[Chainer Advent Calendar 2017 - Qiita](https://qiita.com/advent-calendar/2017/chainer)の2017/12/19の記事です。
[Chainerで学習したモデルをONNX-ChainerとNNVM/TVMを使ってAndroidへデプロイする](https://qiita.com/tkat0/items/28d1cc3b5c2831d86663)
![img](./data/top.png)
## Usage
Chainerの学習済みモデルYOLOv2_tinyをONNXに変換
```
$ cd models/YOLOv2_tiny/
$ python export.py
```macBookのCPU,GPUにデプロイする
```
$ python run_pc.py
```AndroidのCPU,GPUにデプロイする
```
$ python -m tvm.exec.rpc_proxy
```Android側でRPCプロキシサーバーに接続後、以下のコマンドを実行
```
$ python run_mobile.py
```