Skip to content

kangyolo/get-started-jetson-nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Nvidia Jetson Nano Guidance

Jetson Nano is our toys in TBI lol :)). We will working with this little but powerfull machine. You can check detail of Jetson Nano here. Jetson Nano commonly will work with deep learning algorithm, so we set it up OpenCV CUDA enabled.

Outline

  • Jetson Case
  • Power Supply
  • Installation
  • Running YOLOv5

It's not easy and need hours just for installation. Make it fun!!!!!

Case and Fan

Case is so important for Jetson Nano, it's prevent evil things happen to this litter machine. It also easier to carry the Jetson. I found a lot of 3d models for Jetson Nano. I selected one and printed it out. You can check it out in 3d folder

You also need a cooling fan to control the heat. I bought litte cooling fan for Jetson Nano here

Power Supply

Power supply is one of the most important things when playing with Jetson.

Do not use 5V 2A power supply throught USB cable, it's suck. Use 5V 4A with jack cable. Read full article about power supply here

I bought power supply here

power supply

Installation

Jetson Nano required Jetpack running on Linux operating system. Image file that needed to be flashed to the SD card. The official image that provided by Nvidia is not stable at all. There are multipe custom image files that provided by the comunity.

Here is image file that installed Linux Ubuntu 20.04. A Jetson Nano image with OpenCV, TensorFlow and Pytorch. With this image file, it is not necesary to set up the environment from the scratch.

Running JTOP

JTOP stand for Jetson-Stat, it's a program to monitor Jetson Nano status

just run this command on terminal:

jtop

Remote Connection

Read this article and this video

Swap Memory

The Jetson Nano by default has 2GB of swap memory. The swap memory allows for “extra memory” when there is memory pressure on main (physical) memory by swapping portions of memory to disk. Because the Jetson Nano has a relatively small amount of memory (4GB) this can be very useful, especially when, say, compiling large projects.

Our main objective using Jetson Nano is for a deep learning project, the we will need a large memory. Read these articles for Jetson Hack

Currently I'm using 4 GB for memory swap

Running YOLOv5

Clone the official YOLOv5 repository with git

git clone https://github.com/ultralytics/yolov5.git

Make sure the python3 and pip3 is python3.8 version. If it's not, you need to install it and set up the python3 variabel.

Written by: Oki Aryawan