• Stars
    star
    495
  • Rank 88,974 (Top 2 %)
  • Language
  • License
    BSD 3-Clause "New...
  • Created about 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jetson Nano with Ubuntu 20.04 image

Jetson Nano with Ubuntu 20.04 OS image

output image

output image

output image

A Jetson Nano - Ubuntu 20.04 image with OpenCV, TensorFlow and Pytorch

License

Update 7-15-2023.

  • Refresh Ubuntu 20.04
  • Update OpenCV (4.8.0)
  • Update PyTorch (1.13.0)
  • Update TorchVision (0.14.0)
  • New: TensorRT (8.0.1.6)

Update 7-13-2023.

  • Added an installation wheel for TensorRT 8.0.1.6+cuda10.2. The version is synchronous with the C++ version found on the image. Newer versions of TensorRT require CUDA 11 or later, which are not supported on a Jetson Nano. (thanks to Teemu Heikkilä)

Tip 3-10-2023.

  • Connected to the net for the first time? Wait for the Software Updater and let it refresh your operating system.

Update 7-30-2022.

  • Added bare overclocked Ubuntu 20.04 image.

Update 7-26-2022.

  • Refresh Ubuntu 20.04
  • Update OpenCV (4.6.0)
  • Update PyTorch (1.12.0)
  • Update TorchVision (0.13.0)
  • New xz achive (size reduction 26%)
  • New download site (Gdrive has a limited number of downloads per day).

Update 1-30-2022.


Installation.

  • Get a 32 GB (minimal) SD-card which will hold the image.
  • Download the image JetsonNanoUb20_3.img.xz (9.3 GByte!) from our Sync.
  • Flash the image on the SD card with the Imager or balenaEtcher.
  • According to issue #17 only flash the xz directly, not an unzipped img image.
  • Insert the SD card in your Jetson Nano and enjoy.
  • Password: jetson

Tip:

The SD card is overflowing with software; more than 21 GByte! With a 32 GB card, you don't have enough space to work decently.
Therefore, flash the image on an SD card of 64 or more. Then let GParted ($ sudo apt-get install gparted) enlarge the partition.


Split image.

Due to the large image (7.9 GB), the download may take quite some time. It makes downloading vulnerable.
That's why we split the file into smaller chunks. These are more manageable than one huge download.
If you prefer this partial download over one large one, download the following 8 files (1 GB each) and place them in one folder.

Once you have all the files run

7z x JetsonUb20_2.7z.001

7Z will start extracting the first file (*.001) and then automatically the next files in order.
You will endup with JetsonNanoUb20_2.img.xz, the original image which you now can flash on a SD card with Imager or balenaEtcher.

If you get the error '7z' is not recognized as an internal or external command, operable program or batch file. please give the full path to 7z. For instance,

"C:\Program Files\7-Zip\7z.exe" x JetsonNanoUb20_2.7z.001

Bare image.

For those who want a bare-bones Ubuntu 20.04 OS with JetPack 4.6.1, without TensorFlow and PyTorch, you can download the image here (5.6 GB).
The Nano is overclocked at 1900 MHz. See https://qengineering.eu/overclocking-the-jetson-nano.html for more information.
By the way, the image with TensorFlow and PyTorch is not overclocked and runs at the regular 1479 MHz.
output image


Archive.

The previous (7-26-2022) Ubuntu 20.04 image, with OpenCV 4.6.0, TensorFlow 2.4.1 and PyTorch 1.12.0 can be downloaded here - 7.9 GByte.

The first (9-22-2021) Ubuntu 20.04 image, with OpenCV 4.5.3, TensorFlow 2.4.1 and PyTorch 1.9.0 can be downloaded here - 10.3 GByte.


Warnings.

  • Do not install Chromium as it will interfere with the Snap installation. Use the preinstalled Morzilla Firefox.
  • Corrupted lavapipe You may encounter a warning during booting that the lavapipe is broken.
    The solve the issue remove the /usr/share/vulkan/icd.d folder $ sudo rm -rf /usr/share/vulkan/icd.d
    See issue #173.

Upgrading.

You may encounter issues when upgrading ($ sudo apt-get upgrade) this Ubuntu 20.04 version. It has to do with a conflicting /etc/systemd/sleep.conf file, which blocks the upgrade. Follow the instructions on our website to resolve this issue.


Tips.

Use a tool like GParted sudo apt-get install gparted to expand the image to larger SD cards. We recommend a minimum of 64 GB. Deep learning simply requires a lot of space.

Many CUDA related software needs gcc version 8.
We have installed gcc and g++ version 8 alongside the preinstalled version 9.
You can select your choice with $ sudo update-alternatives --config gcc and $ sudo update-alternatives --config g++.

output image


SSD

You can use an external SSD USB drive holding your Ubuntu 20.04 OS and other software. Please follow the steps given at issue 32.


Pre-installed software.

Clicking on the links below will direct you to our installation guide.

Tensorflow 2.5 and above, just like PyTorch 2.0, require CUDA 11. CUDA version 11 cannot be installed on a Jetson Nano due to incompatibility between the GPU and low-level software.

image
image
image


OpenCV + TensorFlow or TensorRT.

Importing both TensorFlow (or TensorRT) and OpenCV in Python can throw the error: cannot allocate memory in static TLS block.
This behaviour only occurs on an aarch64 system and is caused by the OpenMP memory requirements not being met.
For more information, see GitHub ticket #14884.

output image

There are a few solutions. The easiest is to import OpenCV at the beginning, as shown above.
The other is disabling OpenMP by setting the -DBUILD_OPENMP and -DWITH_OPENMP flags OFF.
Where possible, OpenCV will now use the default pthread or the TBB engine for parallelization.
We don't recommend it. Not all OpenCV algorithms automatically switch to pthread.
Our advice is to import OpenCV into Python first before anything else.

Please visit https://qengineering.eu/install-ubuntu-20.04-on-jetson-nano.html for more information.


paypal

More Repositories

1

RPi-image

Raspberry Pi 4 Buster 64-bit OS with deep learning examples
121
star
2

Jetson-Nano-image

Jetson Nano image with deep learning frameworks
97
star
3

PyTorch-Raspberry-Pi-64-OS

PyTorch installation wheels for Raspberry Pi 64 OS
92
star
4

Face-Recognition-Jetson-Nano

Recognize 2000+ faces on your Jetson Nano with database auto-fill and anti-spoofing
C++
92
star
5

Install-OpenCV-Jetson-Nano

OpenCV installation script with CUDA and cuDNN support
Shell
92
star
6

YoloV7-ncnn-Raspberry-Pi-4

YoloV7 for a bare Raspberry Pi using ncnn.
C++
89
star
7

PyTorch-Jetson-Nano

PyTorch installation wheels for Jetson Nano
86
star
8

Face-Recognition-Raspberry-Pi-64-bits

Recognize 2000+ faces on your Raspberry Pi 4 with database auto-fill and anti-spoofing
C++
61
star
9

YoloV8-ncnn-Raspberry-Pi-4

YoloV8 for a bare Raspberry Pi 4
C++
59
star
10

Face-Mask-Detection-Raspberry-Pi-64-bits

Face mask detection on Raspberry Pi 4
C++
56
star
11

YoloV4-ncnn-Raspberry-Pi-4

YoloV4 on a bare Raspberry Pi 4 with ncnn framework
C++
51
star
12

Face-detection-Raspberry-Pi-32-64-bits

Super fast face detection on Raspberry Pi 4
C++
49
star
13

YoloV5-ncnn-Raspberry-Pi-4

YoloV5 for a bare Raspberry Pi 4
C++
47
star
14

Install-OpenCV-Raspberry-Pi-64-bits

OpenCV 4.5 installation scripts for Raspberry Pi with 64-bit OS
Shell
45
star
15

TensorFlow-Raspberry-Pi_64-bit

TensorFlow installation wheels for Raspberry Pi 64 OS
42
star
16

YoloCam

Raspberry Pi stand-alone AI-powered camera with live feed, email notification and event-triggered cloud storage
38
star
17

TensorFlow_Lite_SSD_RPi_64-bits

TensorFlow Lite SSD on bare Raspberry Pi 4 with 64-bit OS at 24 FPS
C++
36
star
18

YoloV5-ncnn-Jetson-Nano

YoloV5 for Jetson Nano
C++
35
star
19

BananaPi-M2-Zero-OV5640

Banana Pi M2 zero with OV5640, WiringPi and OpenCV image.
33
star
20

Face-Recognition-with-Mask-Jetson-Nano

Recognize 2000+ faces on your Jetson Nano with additional mask detection, auto-fill and anti-spoofing
C++
32
star
21

realsr-ncnn-Jetson-Nano

Award winning RealSR super resolution with ncnn on Jetson Nano
31
star
22

Blur-detection-with-FFT-in-C

A blur detection with FFT written in C
C++
30
star
23

YoloV7-ncnn-Jetson-Nano

YoloV7 for a Jetson Nano using ncnn.
C++
29
star
24

YoloV5-NPU-Rock-5

YoloV5 NPU for the RK3588 on Rock 5 or Orange Pi 5
C++
29
star
25

Qengineering

Machine vision apps
26
star
26

YoloV3-ncnn-Raspberry-Pi-4

MobileNetV2_YOLOV3 for ncnn framework
C++
25
star
27

RPi_64-bit_Zero-2-image

Raspberry Pi Zero 2 W 64-bit OS image with OpenCV, TensorFlow Lite and ncnn Framework.
24
star
28

RTSP-with-OpenCV

OpenCV Universal Video Interface with neglectable latency.
C++
24
star
29

RPiMotionCam

Raspberry Pi motion surveillance camera with live feed, email notification and event triggered cloud storage
22
star
30

YoloFastestV2-ncnn-Raspberry-Pi-4

YoloFastestV2 for a bare Raspberry Pi 4
C++
21
star
31

Install-OpenCV-Raspberry-Pi-32-bits

OpenCV 4.5 installation scripts for Raspberry Pi with 32-bit OS
Shell
21
star
32

TensorFlow-Raspberry-Pi

TensorFlow installation wheels for Raspberry Pi 32-bit OS
20
star
33

TensorFlow_Lite_Pose_RPi_64-bits

TensorFlow Lite Posenet on bare Raspberry Pi 4 with 64-bit OS at 9.4 FPS
C++
19
star
34

NanoDet-ncnn-Raspberry-Pi-4

NanoDet for a bare Raspberry Pi 4
C++
18
star
35

Multithread-Camera-OpenCV

OpenCV Universal Multi thread video Interface with neglectable latency.
C++
18
star
36

Jover

Overclocking the Jetson Nano CPU and GPU
C
17
star
37

YoloX-ncnn-Jetson-Nano

YoloX for a Jetson Nano using ncnn.
C++
17
star
38

RPi-Bullseye-DNN-image

Raspberry Pi 4 Bullseye 64-bit OS with deep learning examples
16
star
39

TensorFlow_Lite_Segmentation_RPi_64-bit

TensorFlow Lite segmentation on Raspberry Pi 4 aka Unet at 7.2 FPS with 64-bit OS
C++
16
star
40

YoloX-Tracking-ncnn-RPi_64-bit

YoloX with tracking for a bare Raspberry Pi 4 using ncnn.
C++
15
star
41

TensorFlow_Lite_SSD_RPi_32-bits

TensorFlow Lite SSD on a bare Raspberry Pi 4 at 17 FPS
C++
14
star
42

Face-Mask-Detection-Jetson-Nano

Face mask detection on a Jetson Nano
C++
14
star
43

Paddle-Raspberry-Pi

Paddle installation wheels for Raspberry Pi 4 (64-bit OS)
13
star
44

QR_scanner_Raspberry_Pi

QR and barcode scanner for the Raspberry Pi
C++
13
star
45

YoloIP

A Raspberry Pi 4, with stand-alone AI, supports multiple IP surveillance cameras.
13
star
46

YoloX-ncnn-Raspberry-Pi-4

YoloX for a bare Raspberry Pi 4 using ncnn.
C++
12
star
47

Paddle-Jetson-Nano

Paddle installation wheels for Jetson Nano
12
star
48

Yolact-ncnn-Raspberry-Pi-4

Yolact running on the ncnn framework on a bare Raspberry Pi 4 with 64 OS, overclocked to 1950 MHz
C++
12
star
49

YoloFastest-ncnn-Jetson-Nano

YoloFastestV2 for a Jetson Nano
C++
12
star
50

TensorFlow_Lite_Segmentation_Jetson-Nano

TensorFlow Lite segmentation on a Jetson Nano at 11 FPS
C++
12
star
51

TensorFlow_Lite_SSD_Jetson-Nano

TensorFlow Lite SSD on a Jetson Nano 28.5 FPS
C++
11
star
52

TensorFlow_Lite_Classification_RPi_64-bits

TensorFlow Lite classification on a bare Raspberry Pi 4 with 64-bit OS at 23 FPS
C++
11
star
53

TensorFlow_Lite_Pose_RPi_32-bits

TensorFlow Lite Posenet on bare Raspberry Pi 4 at 5.0 FPS
C++
11
star
54

YoloV6-ncnn-Raspberry-Pi-4

YoloV6 for a bare Raspberry Pi using ncnn.
C++
11
star
55

Libcamera-OpenCV-RPi-Bullseye-64OS

Libcamera with OpenCV in Raspberry Pi 64 bit Bullseye
C++
10
star
56

TensorFlow_Lite_Face_Mask_RPi_64-bits

Face mask detection on a bare Raspberry Pi 4 wit 32 or 64-bit OS
C++
10
star
57

Fast-Background-Substraction

Ultra fast background substraction
C++
10
star
58

MobileNet_SSD_OpenCV_TensorFlow

C++
10
star
59

NanoDet-ncnn-Jetson-Nano

NanoDet for Jetson Nano
C++
10
star
60

PaddleOCR-Lite-Document

PaddleOCR Lite document scanner on bare Raspberry Pi 4
C++
9
star
61

OpenCV-Livecam-Raspberry-Pi

A live camera C++ example on a Raspberry Pi in OpenCV
C++
9
star
62

TensorFlow-JetsonNano

TensorFlow installation wheels for Jetson Nano
9
star
63

ShuffleNetV2-ncnn

ShuffleNet_V2 for ncnn framework
C++
8
star
64

Libcamera-OpenCV-RPi-Bullseye-32OS

Libcamera with OpenCV in Raspberry Pi 32 bit Bullseye
C++
8
star
65

TensorFlow_Lite_Face_Mask_Jetson-Nano

Face mask detection on a Jetson Nano
C++
8
star
66

Qt5-OpenCV-Raspberry-Pi-Jetson-Nano

Native build of Qt5 creator on Raspberry Pi 4 with OpenCV support
C++
8
star
67

GStreamer-1.18.4-RPi_32-bits

GStreamer 1.18.4 with OpenCV example on a Raspberry Pi 32-bits
C++
8
star
68

GStreamer-1.18.4-RPi_64-bits

GStreamer 1.18.4 with OpenCV example on a Raspberry Pi 4
C++
8
star
69

GFPGAN-ncnn-Raspberry-Pi-4

GFPGAN face reconstruction with ncnn on a bare Raspberry Pi
C++
7
star
70

TensorFlow-Addons-Jetson-Nano

TensorFlow Addons installation wheels for Jetson Nano
Python
7
star
71

TensorFlow_Lite_Classification_RPi_zero

TensorFlow Lite on a bare Raspberry Pi Zero
C++
7
star
72

YoloV5-face-ncnn-RPi4

YoloV5 face detection on Raspberry Pi 4
C++
7
star
73

TensorFlow_Lite_Pose_Jetson-Nano

TensorFlow Lite Posenet on a Jetson Nano at 15.2 FPS
C++
6
star
74

PaddleOCR-Lite-License

PaddleOCR Lite license plate detection on bare Raspberry Pi 4
C++
6
star
75

YoloV4-Darknet-Jetson-Nano

YoloV4 with Darknet for Jetson Nano
C++
6
star
76

NanoDet-Tracking-ncnn-RPi_64-bit

NanoDet with tracking for a bare Raspberry Pi 4 using ncnn.
C++
6
star
77

Faster_RCNN_ncnn

Faster R-CNN for ncnn framework
C++
6
star
78

Head-Pose-ncnn-Raspberry-Pi-4

Ultra fast head pose estimation on a bare Raspberry Pi 4 at 20 FPS
C++
6
star
79

TensorFlow_Lite_Classification_Jetson-Nano

C++
5
star
80

Rock-5-Ubuntu-22-image

Rock Pi 5 image with Ubuntu 22, OpenCV, deep learning frameworks and NPU drivers
5
star
81

NanoDetPlus-ncnn-Raspberry-Pi-4

NanoDet Plus for a bare Raspberry Pi 4
C++
5
star
82

Face-detection-Landmark-Raspberry-Pi-32-64-bits

Super fast face detection with landmarks on Raspberry Pi 4
C++
5
star
83

LFFD-MNN-Jetson-Nano

Face detection with MNN on a Jetson Nano
C++
5
star
84

Rock-5-image

Rock Pi 5 image with OpenCV, deep learning frameworks and NPU drivers
5
star
85

Real-ESRGAN-ncnn-Raspberry-Pi-4

ESRGAN super resolution with ncnn on Raspberry Pi
C++
5
star
86

TensorFlow-Addons-Raspberry-Pi_64-bit

TensorFlow Addons installation wheels for Raspberry Pi 64 OS
Python
5
star
87

TensorFlow_Lite_Segmentation_RPi_32-bit

TensorFlow Lite segmentation on Raspberry Pi 4 aka Unet at 4.2 FPS
C++
5
star
88

Rfcn_ncnn

Rfcn for ncnn framework
C++
4
star
89

MobileNetV1_SSD_OpenCV_Caffe

MobileNetV1_SSD Caffe with OpenCV on RaspBerry Pi
C++
4
star
90

LFFD-MNN-Raspberry-Pi-4

Face detection with MNN for Raspberry Pi 4
C++
4
star
91

YoloV4-ncnn-Jetson-Nano

YoloV4 for Jetson Nano
C++
4
star
92

YoloV2-ncnn-Raspberry-Pi-4

YoloV2 for bare Raspberry Pi 4 or Rock 5
C++
4
star
93

NanoDetPlus-ncnn-Jetson-Nano

NanoDet Plus for Jetson Nano
C++
4
star
94

YoloV6-ncnn-Jetson-Nano

YoloV6 for a Jetson Nano using ncnn.
C++
4
star
95

DHT22-Raspberry-Pi

DHT22 sensor on Raspberry Pi with WiringPi
C++
4
star
96

ncnn_Pose_RPi_64-bits

ncnn pose estimation on bare Raspberry Pi 4 with 64-bit OS at 7.1 FPS
C++
3
star
97

YoloV2-ncnn-Jetson-Nano

C++
3
star
98

LFFD-ncnn-Jetson-Nano

LFFD face detection with ncnn for Jetson Nano
C++
3
star
99

Age-Gender-OpenCV-Raspberry-Pi-4

Age and Gender estimation on a Raspberry Pi 4 with OpenCV
C++
3
star
100

PeleeNet_SSD

PeleeNet SSD for ncnn framework
C++
3
star