0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ラズパイでTensorFlow Lite環境

Posted at

ラズパイでTensorFlow Lite環境

といってもPINTOさんの高速化チューニング済みのリポジトリを使用する
- https://github.com/PINTO0309/TensorflowLite-bin
導入方法もREADMEに従う。

  • 一部、まっさら状態だったので、numpyを入れた
$ pip3 install numpy
$ sudo apt install libatlas-base-dev
  • sample動いた
$ python3 label_image.py --num_threads 4 --image grace_hopper.bmp --model_file mobilenet_v1_1.0_224_quant.tflite --label_file labels.txt
0.415686: 653:military uniform
0.352941: 907:Windsor tie
0.058824: 668:mortarboard
0.035294: 458:bow tie, bow-tie, bowtie
0.035294: 835:suit, suit of clothes
time:  0.08983588218688965
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?