如何在珊瑚开发板上安装tensorflow? [英] How to install tensorflow on coral dev board?

查看:148
本文介绍了如何在珊瑚开发板上安装tensorflow?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Coral dev上安装tf? 在珊瑚开发板上的之后出现错误,例如未找到compile.sh等.请给出详细的解释.

How to install tf on coral dev? Getting errors following this on coral dev board like compile.sh not found etc. Please give detailed explaination.

推荐答案

如果您不提供有关已完成的操作或尝试安装时遇到的错误的详细信息,那么实际上将不可能提供帮助.它. 但是,由于目标是在板上安装tensorflow,因此您可以使用以下预构建的软件包进行此操作:

It is really not going to be possible to help if you don't give details on what you've done or what errors you ran into while trying to install it. However, since the objective is to install tensorflow on the board, you can just do this using this pre-built package:

$ wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.0.0/tensorflow-2.0.0-cp37-none-linux_aarch64.whl
$ sudo apt-get install -y python3-dev libhdf5-dev python3-h5py
$ sudo pip3 install tensorflow-2.0.0-cp37-none-linux_aarch64.whl

另外,请注意,在板上使用完整的张量流不会从TPU获得任何性能.

Also, please note that using the full tensorflow on the board isn't going to gain any performance from the TPU.

抱歉,忘记了 lhelontra/tensorflow-on-arm 回购预编译包!

Apologies, forgot to credit lhelontra/tensorflow-on-arm repo for the prebuilt package!

这篇关于如何在珊瑚开发板上安装tensorflow?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆