1
0

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.

EdgeTPU(USB接続)時にデバイス見つからない問題

Posted at

もうすぐ夏ですね、めちゃ暑いのなるべく避けたいそんな時にCoral betaのEdgeTPUを使用して熱くない推論をしたいところ。

適当なLinux BoxにEdgeTPUぶっ刺してTensorFlowLiteのモデルさえ用意すれば一桁Wでガンガン推論してくれます。

デバイス無いよ〜 (T^T)

shell
ERROR: Failed to retrieve TPU context.
ERROR: Node number 0 (edgetpu-custom-op) failed to prepare.

Failed in Tensor allocation, status_code: 1

やるたびに忘れるのでφ(..)

実行時にユーザーにUSBアクセラレーターへのアクセス権限がついてないぽいので、それをつければOK
実行したいユーザー(hoge)に plugdev というグループをつければ良い

sudo adduser hoge plugdev
1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?