This project contains a set of scripts to facilitate the setup of the Jetson Nano for doing Deep Learning with Tensorflow 2.0 (and also with Coral TPU Edge)
This project aims to provide a couple of script to automate the setup of a Jetson Nano for Deep Learning at Edge with Tensorflow.
The scripts will :
Be aware that the setup can takes 1-2 days if compiling bazel and Tensorflow (a bit more than 1 day just to compile Tensorflow natively on the Jetson Nano. Cross-compiling might be considered to speed up the compilation from sources)
/usr/local/bin/bazel
/opt/local/tmp/tensorflow_pkg/tensorflow-2.0.0-cp36-cp36m-linux_aarch64.whl
NanoSetup.sh
to configure the system on the SD cardMove2USB.sh
to copy the system on the USB SSD drive and update the system to boot from it (Note: You might want to reuse this script in the future, in order to refresh your USB SSD drive with a fresh copy of the system located on the SD Card)When using the Nano, make sure:
--no-sandbox
or --disable-gpu
option
# Manually using Jupyter Labd on the Jetson Nano
/opt/local/virtual-env/bin/activate bash
chromium-browser --no-sandbox &
jupyter-lab --log-level='ERROR'
For convenience an alias jl
has been define in the .bashrc (alias jl='(chromium-browser --no-sandbox &) ; jupyter-lab --log-level='\''ERROR'\'''
)
A Jupyter Notebook is provided to experiment with Tensorflow 2.0 on the Jetson Nano and Coral Edge TPU.
This notebook does not aim to serve as a benchmark. It is intended at exploring the possibilities/capabilities with this setup. It can also serves as a quick reference guide for using the tf.lite API. (Also remember that these devices are intended for inference. They are not designed for training. That being said, the Jetson Nano is not bad at training a rather basic Neural network!)
MIT License
TODO add screenshots
(and of course a Monitor, a Keyboard and a Mouse)