问题
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.
回答1:
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
Also, please note that using the full tensorflow on the board isn't going to gain any performance from the TPU.
[Edit] Apologies, forgot to credit lhelontra/tensorflow-on-arm repo for the prebuilt package!
来源:https://stackoverflow.com/questions/60149205/how-to-install-tensorflow-on-coral-dev-board