Git Product home page Git Product logo

jetson-nano-ubuntu-20-image's Introduction

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 9-17-2023.

  • Refresh Ubuntu 20.04.
  • Add WiFi support (#28).
  • Reduce xz archive.

Update 9-6-2023.

  • Added a new spilt image.

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 is 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 archive (size reduction of 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 to hold the image.
  • Download the image JetsonNanoUb20_3b.img.xz (8.7 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 (9.3 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 14 files (700 MB each) and place them in one folder.

Once you have all the files run

7z x JetsonNanoUb20_3b.img.xz.001

7Z will start extracting the first file (*.001) and automatically the next files in order.
You will end up with JetsonNanoUb20_3b.img.xz, the original image which you now can flash on an 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_3b.img.xz.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


ROS

If you plan to use this image with ROS, please look at JetsonNano-ROS2.
As you can see, Kalana Ratnayake, a PhD student in the Robotics and Artificial Intelligence Lab, part of the Faculty of Science and Technology at the University of Canberra has done a great job. Thanks. 👍


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.
Or the split image:

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, requires 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


VNC.

Ubuntu 20.04 supports VNC. Please follow the next steps to enable it.
BTW, images are taken from the Jetson Orin, but they are identical on the Jetson Ubuntu 20
VNC_1
VNC_2
VNC_3
VNC_4
The last step is lowering the encryption level.

$ gsettings set org.gnome.Vino require-encryption false

On your client please uncheck the Authenticate boxes.
image


Headless.

If you want a headless installation of Ubuntu 20.04, please follow the next commands.

sudo chown root:root / /lib
sudo apt purge ubuntu-desktop -y && sudo apt autoremove -y && sudo apt autoclean
sudo apt-get remove nautilus nautilus-* gnome-power-manager gnome-screensaver gnome-termina* gnome-pane* 
sudo apt-get remove gnome-applet* gnome-bluetooth gnome-desktop* gnome-sessio* gnome-user* gnome-shell-common
sudo apt-get remove zeitgeist-core libzeitgeist* gnome-control-center gnome-screenshot && sudo apt-get autoremove
sudo apt-get remove --purge libreoffice*
sudo apt-get remove libreoffice-core
sudo apt-get remove snapd lightdm cups chromium*

You end up with a headless OS consuming ~ 420 MB.
Below is a screen dump of Putty connected to the Jetson Nano running jtop.
330769059-52674244-cf3c-4ea1-a903-a1ed19719ce0


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

jetson-nano-ubuntu-20-image's People

Contributors

qengineering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jetson-nano-ubuntu-20-image's Issues

xrdp remote access

Thank you for the image!
After flashing and installing xrdp, I connect to my jetson nano B01 and the screen freezes as shown below.
Do you have some hints that can help with this problem please?

nano_xrdp

Torch Mean gives wrong results on CPU

I notice that using the transforms provided by PyTorch for their pretrained models in a Jupyter Notebook (in VSCode), the results were wildly incorrect. I managed to pinpoint the issue on the normalization step. In fact, even just calculating the channel-wise mean of a tensor gives wrong results. Surprisingly, the results are correct (that is, they match their Numpy counterpart) if the tensor is moved to the GPU first or if not Jupyter is involved.

Has anyone notice similar behavior ?

My pip list:

Details

Package Version

absl-py 0.13.0
annotated-types 0.5.0
anyio 3.7.1
appdirs 1.4.4
apturl 0.5.2
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.2.3
asttokens 2.2.1
astunparse 1.6.3
async-lru 2.0.4
atomicwrites 1.1.5
attrs 23.1.0
Babel 2.12.1
backcall 0.2.0
backoff 2.2.1
bcrypt 3.1.7
beautifulsoup4 4.12.2
bleach 6.0.0
blessed 1.20.0
blinker 1.4
Brlapi 0.7.0
cachetools 4.2.2
certifi 2023.7.22
cffi 1.15.1
chardet 3.0.4
charset-normalizer 3.2.0
Click 7.0
colorama 0.4.3
comm 0.1.4
command-not-found 0.3
croniter 1.4.1
cryptography 2.8
cupshelpers 1.0
cycler 0.10.0
Cython 0.29.21
dateutils 0.6.12
dbus-python 1.2.16
debugpy 1.6.7.post1
decorator 5.1.1
deepdiff 6.3.1
defer 1.0.6
defusedxml 0.7.1
distro 1.4.0
distro-info 0.23ubuntu1
duplicity 0.8.12.0
entrypoints 0.3
et-xmlfile 1.0.1
exceptiongroup 1.1.3
executing 1.2.0
fastapi 0.101.1
fasteners 0.14.1
fastjsonschema 2.18.0
filelock 3.12.2
flatbuffers 1.12
fqdn 1.5.1
fsspec 2023.6.0
future 0.18.2
gast 0.3.3
gdown 3.13.1
google-auth 1.35.0
google-auth-oauthlib 0.4.6
google-pasta 0.2.0
gps 3.20
grpcio 1.32.0
h11 0.14.0
h5py 2.10.0
html5lib 1.0.1
httplib2 0.14.0
idna 3.4
imageio 2.31.1
importlib-metadata 6.8.0
importlib-resources 6.0.1
inquirer 3.1.3
ipykernel 6.25.1
ipython 8.12.2
ipython-genutils 0.2.0
ipywidgets 8.1.0
isoduration 20.11.0
itsdangerous 2.1.2
jdcal 1.0
jedi 0.19.0
Jetson.GPIO 2.0.17
jetson-stats 4.2.1
Jinja2 3.1.2
json5 0.9.14
jsonpointer 2.4
jsonschema 4.19.0
jsonschema-specifications 2023.7.1
jupyter 1.0.0
jupyter_client 8.3.0
jupyter-console 6.6.3
jupyter_core 5.3.1
jupyter-events 0.7.0
jupyter-lsp 2.2.0
jupyter_server 2.7.2
jupyter_server_terminals 0.4.4
jupyterlab 4.0.5
jupyterlab-pygments 0.2.2
jupyterlab_server 2.24.0
jupyterlab-widgets 3.0.8
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
keyring 18.0.1
kiwisolver 1.0.1
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
lazy_loader 0.3
lightning 2.0.7
lightning-cloud 0.5.37
lightning-utilities 0.9.0
lockfile 0.12.2
louis 3.12.0
lxml 4.5.0
macaroonbakery 1.3.1
Mako 1.2.4
Markdown 3.3.4
markdown-it-py 3.0.0
MarkupSafe 2.1.3
matplotlib 3.1.2
matplotlib-inline 0.1.6
mdurl 0.1.2
mistune 3.0.1
monotonic 1.5
more-itertools 4.2.0
mpmath 1.3.0
nbclient 0.8.0
nbconvert 7.7.4
nbformat 5.9.2
nest-asyncio 1.5.7
netifaces 0.10.4
networkx 3.1
notebook 7.0.2
notebook_shim 0.2.3
numpy 1.24.4
oauthlib 3.1.0
olefile 0.46
onboard 1.4.1
onnx 1.14.0
onnxruntime-gpu 1.11.0
openpyxl 3.0.3
opt-einsum 3.3.0
ordered-set 4.1.0
overrides 7.4.0
packaging 23.1
pandas 0.25.3
pandocfilters 1.5.0
paramiko 2.6.0
parso 0.8.3
pbr 5.6.0
pexpect 4.8.0
pickleshare 0.7.5
Pillow 10.0.0
pip 23.2.1
pkgutil_resolve_name 1.3.10
platformdirs 3.10.0
pluggy 0.13.0
prometheus-client 0.17.1
prompt-toolkit 3.0.39
protobuf 4.24.1
psutil 5.9.5
ptyprocess 0.7.0
pure-eval 0.2.2
py 1.8.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
pybind11 2.7.1
pycairo 1.16.2
pycparser 2.21
pycuda 2022.2.2
pycups 1.9.73
pydantic 2.1.1
pydantic_core 2.4.0
Pygments 2.16.1
PyGObject 3.36.0
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.3.0
pyparsing 2.4.6
pyRFC3339 1.1
pyserial 3.4
PySocks 1.7.1
pytest 4.6.9
python-apt 2.0.1+ubuntu0.20.4.1
python-dateutil 2.8.2
python-debian 0.1.36+ubuntu1.1
python-dotenv 1.0.0
python-editor 1.0.4
python-json-logger 2.0.7
python-multipart 0.0.6
pytools 2023.1.1
pytorch-lightning 2.0.7
pytz 2023.3
PyWavelets 1.4.1
pyxattr 0.6.1
pyxdg 0.26
PyYAML 6.0.1
pyzmq 25.1.1
qtconsole 5.4.3
QtPy 2.3.1
readchar 4.0.5
referencing 0.30.2
reportlab 3.5.34
requests 2.31.0
requests-oauthlib 1.3.0
requests-unixsocket 0.2.0
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rich 13.5.2
rpds-py 0.9.2
rsa 4.7.2
scikit-image 0.21.0
scipy 1.10.1
SecretStorage 2.3.1
Send2Trash 1.8.2
setuptools 58.0.4
simplejson 3.16.0
sip 4.19.21
six 1.16.0
smbus2 0.4.2
sniffio 1.3.0
soupsieve 2.4.1
ssh-import-id 5.10
stack-data 0.6.2
starlette 0.27.0
starsessions 1.3.0
sympy 1.12
system-service 0.3
systemd-python 234
tensorboard 2.6.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.0
tensorflow-estimator 2.4.0
tensorrt 8.0.1.6
termcolor 1.1.0
terminado 0.17.1
testresources 2.0.1
tifffile 2023.7.10
tinycss2 1.2.1
tomli 2.0.1
torch 1.13.0a0+git7c98e70
torchmetrics 1.1.0
torchvision 0.14.0a0+5ce4506
tornado 6.3.3
tqdm 4.62.3
traitlets 5.9.0
typing_extensions 4.7.1
ubuntu-advantage-tools 8001
ubuntu-drivers-common 0.0.0
ufw 0.36
uri-template 1.3.0
urllib3 2.0.4
urwid 2.0.1
uvicorn 0.23.2
wadllib 1.3.3
wcwidth 0.2.6
webcolors 1.13
webencodings 0.5.1
websocket-client 1.6.2
websockets 11.0.3
Werkzeug 2.0.1
wheel 0.34.2
widgetsnbextension 4.0.8
wrapt 1.12.1
xkit 0.0.0
xlrd 1.1.0
xlwt 1.3.0
youtube-dl 2020.3.24
zipp 3.16.2

SD card size ?

I use SDXC 128gb but after i flash system found it as 32GB ..
Can I solve this problem?

Thank you

PWM on this custom image.

Hello,

I installed your custom image (which by the way works very well for image recognition and ros2 foxy thank you very much) and I tried to use PWM 32 and 33. I have enabled it with Jetson-IO, rebooted but I can't get a pwm signal on either pin (32 and 33). I have no errors in my python code (a really simple one, it was working on jetpack 4.6 (official one) with the same activation process). Does anyone have any idea how I can solve this problem?

Thanks in advance,

whereis NVCC tha I can't find & operate with?

I see /usr/local/cuda-10.2, but "nvcc --version" has no response. Thanx in advance. But is very useful, that I can finally use Torch, my target. Thanx a lot. I wish to use .cu to compile in vscode,

torchtext and torchdata

I have problem when try implementation of https://nlp.seas.harvard.edu/annotated-transformer/
on torch 1.12.0 torchdata need torch 1.11.0,
but on torch 1.11.0 torchtext got error

''' >>> import torchtext
Traceback (most recent call last):
File "", line 1, in
File "/home/jetson/.local/lib/python3.8/site-packages/torchtext/init.py", line 9, in
from . import vocab
File "/home/jetson/.local/lib/python3.8/site-packages/torchtext/vocab/init.py", line 11, in
from .vocab_factory import (
File "/home/jetson/.local/lib/python3.8/site-packages/torchtext/vocab/vocab_factory.py", line 4, in
from torchtext._torchtext import (
ImportError: /home/jetson/.local/lib/python3.8/site-packages/torchtext/_torchtext.so: undefined symbol: _ZNK5torch3jit6MethodclESt6vectorIN3c106IValueESaIS4_EERKSt13unordered_mapISsS4_St4hashISsESt8equal_toISsESaISt4pairIKSsS4_EEE '''

TeamViewer cant login

After starting my jetson nano with the new image i tried to connect TeamViewer with my acc. but i only get error:

"
Welcome to TeamViewer configuration.

This short guide helps you to setup TeamViewer on this device. After you have
successfully finished the setup, this device will automatically be available in
your Computers & Contacts.

Connected
Please enter your email / username: test

Please enter your password:
Initiating sign in
There was a connectivity issue. Please check your internet connection and try
again.

"

I reinstalled and checked my Network but nothing worked.

" ping master4.teamviewer.com
PING master4.teamviewer.com(master4.teamviewer.com (2a0b:b580:0:1::4)) 56 data b ytes
64 bytes from master4.teamviewer.com (2a0b:b580:0:1::4): icmp_seq=1 ttl=120 time =9.23 ms
64 bytes from master4.teamviewer.com (2a0b:b580:0:1::4): icmp_seq=2 ttl=120 time =10.5 ms
--- master4.teamviewer.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 9.229/9.870/10.512/0.641 ms
"

Image creation question.

Hi, can you describe workflow how to create such an image? I would like to create similar images for Xavier NX or other Jetson devices, and I used your image on nano successfully :)

Fresh install opencv cuda error

Hi,

When looking at jtop I can see opencv is compiled with CUDA yes.

When running a script It is defaulting to CPU then running a sample script shows opencv is not compiled with CUDA.

Is it a enviroment path issue?

Or is the OPENCV 4.8 version not actually built with CUDA?

Any help in understanding would be great

I can't load

I can't load Ubuntu 20.04 image, with OpenCV 4.5.3, TensorFlow 2.4.1 and PyTorch 1.9.0.

OpenCV (core dumped)

Clean setup with latest image, brings an crash with the opencv library under python

python3

import cv2
Illegal instruction (core dumped)

Any ideas ?

Ubuntu 22.04?

Do you have any plans to upgrade this image to Ubuntu 22.04?

SSH key

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:3r+XqpYUBuE8osiMj2x71Za7JEYwbolhCBpd//M8vFY.
Please contact your system administrator.
Add correct host key in /home/pravin/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/pravin/.ssh/known_hosts:14
remove with:
ssh-keygen -f "/home/pravin/.ssh/known_hosts" -R "192.168.226.77"
ECDSA host key for 192.168.226.77 has changed and you have requested strict checking.
Host key verification failed.

what should i do to use SSH key as usual?

Ubuntu Image without opencv install

How can I get an image for the jetson nano ubuntu 20 without opencv preinstalled. I need to use a specific version of opencv but I can not figure out how to uninstall it and I am not able to have multiple versions of opencv installed. I think that it was installed using these instructions. However the ubuntu image doesn't contain the original directory that opencv was built in so I can't uninstall it. I was able to find the shared libraries in the /usr/lib/aarch64-linux-gnu directory however I am not sure how to safely uninstall them.

I am running a the most recent image without any modifications.

/lib/ld-linux.so.3 pointing to non existing armhf file

Hi,

I'm trying to install an edge microserver for thingworx. And there are some weird things going on in your image.
The main problem is, that the /lib/ld-linux.so.3 interpreter is pointing to a non existing armhf file, even the jetson nano architecture is arm64. What did install it?
WrongPointer

I'm trying to execute the following application:
MicroserverApp

If I'm running it, it says No such file or directory

Hope you can answer my question and help. Thanks alot!

Running in text mode gives strange warnings (and strange behaviour)

one day, I switch to text mode with the following command:
sudo systemctl set-default multi-user.target
since this day, connecting through ssh give the following message:
'DISPLAY' environment variable not set... skipping surface info
and these strange lines in dmesg:
[ 42.248674] tegra-xusb 70090000.xusb: WARN: buffer overrun event on endpoint
[ 42.255820] tegra-xusb 70090000.xusb: WARN: buffer overrun event on endpoint
[ 42.263670] tegra-xusb 70090000.xusb: WARN: buffer overrun event on endpoint

I've tried to fill the DISPLAY environment variable with :0.0 => Same result

I never see this issue with the standard jetson linux version

as I am using a WEBCAM i met strange behaviours sometime with a lot of these strange messages.

Any idea?

Failed to start Load Kernel Modules

Hello
There are problems when loading the kernel.
Perhaps you can help solve it.
Tried installing the last two images, the result is the same. Used 32 GB and 64 GB SD card.
The only thing is probably that Jetson Nano is for Chinese market.
monitor

MMC os installation?

Is it possible to installed custom os with MMC SSD instead of sd card to production board Nano device?

update of debian pkgs results in lavapipe error

Error found when loading /etc/profile:

WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

As a result the session will not be configured correctly.
You should fix the problem as soon as feasible.

Code can run in 18.04 can't in 20.04

I want to use python3.8
So I upgrade my jetson nano ubuntu from 18.04 to 20.04
the code which I can run successfully in 18.04 have error in 20.04
How can I solve these problems? Thanks a lot
I had check there is no problem in hardware device

code:
from jetcam.csi_camera import CSICamera
camera = CSICamera(width=640, height=480)
image = camera.read()

error:
RuntimeError Traceback (most recent call last)
File /usr/local/lib/python3.8/dist-packages/jetcam-0.0.0-py3.8.egg/jetcam/csi_camera.py:24, in CSICamera.init(self, *args, **kwargs)
23 if not re:
---> 24 raise RuntimeError('Could not read image from camera.')
25 except:

RuntimeError: Could not read image from camera.

During handling of the above exception, another exception occurred:

RuntimeError Traceback (most recent call last)
Cell In[2], line 2
1 from jetcam.csi_camera import CSICamera
----> 2 camera = CSICamera(width=640, height=480)
3 image = camera.read()

File /usr/local/lib/python3.8/dist-packages/jetcam-0.0.0-py3.8.egg/jetcam/csi_camera.py:26, in CSICamera.init(self, *args, **kwargs)
24 raise RuntimeError('Could not read image from camera.')
25 except:
---> 26 raise RuntimeError(
27 'Could not initialize camera. Please see error trace.')
29 atexit.register(self.cap.release)

RuntimeError: Could not initialize camera. Please see error trace.

Udisk Image?

My board with jetson nano does not have any slot of sd card, so I need an ubuntu 20.04 image of USD flash disk. Can I get support?

OpenCV Version

Hello!

I was wondering if there is a particular reason why opencv is at version 4.6 instead of 4.8? I was able to successfully install version 4.8 with gstreamer and such, following qengineering tutorials, but was curious if maybe there's a performance difference.

Is there a way to install qt4

I'm sorry that my question is little bit off but couldn't find a solution.

How to Install qt4 on Jetson Nano (ubuntu 20.04) for Hector Slam

Firstly, I tried

sudo add-apt-repository ppa:rock-core/qt4

this code and tried to install the needed libraries, but in my opinion it couldn't find the libraries again because of the jetson nano's architecture.

Then I tried to download the debian packages from the internet and realized most of them are amd64 packages, I find one package for arm64, but this one needs dependencys as shown below

tried to install downloaded package for 20.04 and arm64

When this gives an error, I tried to download the qt5 then change the version manually, as shown below it doesn't work and says run make install (don't know how to do)

qt version 4.8

I need to install qt4 to run Hector Slam. What should I do any suggestions?

Missing linux-headers-4.9.253

Hello, I was trying to install https://github.com/WCHSoftGroup/ch343ser_linux and hit some issues when running make. I believe this is due to the bare image, as the error I get is:
make[1]: *** /lib/modules/4.9.253/build: No such file or directory.

From what I could tell, it seems the linux-headers-4.9.253 are missing, which is the output of uname -r, but when I try installing headers, all I can get are 5.x. Wondering if anyone has solutions for this!

tensorflow update

I tried

sudo apt install python-is-python3
sudo apt install python3-venv
rm -rf venv/
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip

and tried
pip install tensorflow==2.10.1
but
python -c 'import tensorflow as tf; print(tf.__version__)'
show me

Traceback (most recent call last):
File "", line 1, in
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/init.py", line 37, in
from tensorflow.python.tools import module_util as _module_util
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/init.py", line 45, in
from tensorflow.python.feature_column import feature_column_lib as feature_column
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/feature_column/feature_column_lib.py", line 18, in
from tensorflow.python.feature_column.feature_column import *
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/feature_column/feature_column.py", line 143, in
from tensorflow.python.layers import base
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/layers/base.py", line 16, in
from tensorflow.python.keras.legacy_tf_layers import base
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/keras/init.py", line 25, in
from tensorflow.python.keras import models
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/keras/models.py", line 22, in
from tensorflow.python.keras.engine import functional
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 32, in
from tensorflow.python.keras.engine import training as training_lib
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 54, in
from tensorflow.python.keras.saving import hdf5_format
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 37, in
import h5py
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/h5py/init.py", line 46, in
from ._conv import register_converters as _register_converters
File "h5py/_conv.pyx", line 1, in init h5py._conv
File "h5py/h5t.pyx", line 293, in init h5py.h5t
File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/numpy/init.py", line 320, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'typeDict'

so I did
pip install numpy==1.20
but python -c 'import tensorflow as tf; print(tf.__version__)'

RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xe
ImportError: numpy.core.multiarray failed to import

The above exception was the direct cause of the following exception:

SystemError: <built-in method __contains__ of dict object at 0x7f7034b640> returned a result with an error set

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/eager/context.py", line 35, in <module>
    from tensorflow.python.client import pywrap_tf_session
  File "/home/hannes/CarND-Behavioral-Cloning-P3/venv/lib/python3.8/site-packages/tensorflow/python/client/pywrap_tf_session.py", line 19, in <module>
    from tensorflow.python.client._pywrap_tf_session import *
ImportError: initialization failed

Does someone knows, how to fix this ?

Wifi Issue

We are flashing Jetson Nano 4gb with this image and using Wifi Card: Intel Model 8265NGW. We periodically have an error where the Jetson Nano does not recognize the wifi adaptor. No network settings show up at all and it doesn't not connect to any of its saved wifi networks (they don't show up at all.) To test the issue we updated everything all of the software and then rebooted 10 times. 2/10 times the Jetson had this issue still. We're not sure what's going on here. Thanks for your help!

Cannot import torch or torchvision on a different user

Steps:

  1. Created a new user
  2. Added the same groups of user "jetson" to my new user
  3. $ python3 -> import torch returns Illegal instruction (core dumped)

torchvision returns the same error
Adding the new user to the "jetson" group doesn't help
There are no problems importing the modules from the "jetson" user

Vulkan Driver Error

Latest image shows an error after startup with the vulkan driver on Jetson Nano 4GB.

Any ideas, below the message I get after startup:

/build/vulkan-tools-_ynL0i/vulkan-tools-1.2.131.1+dfsg1/vulkaninfo/vulkaninfo.h:477: failed with ERROR_INITIALIZATION_FAILED

L4T 32.7.1

Can you help me how to update the Jetpack to the latest version (with L4T 32.7.1)??]

I'm a noob guy hehe.

Thanks in advance!

Can I flash this to an eMMC module?

As the title states, I have a Jetson Nano module with 16GB of eMMC memory instead of an SD card slot. Is it somehow possible to flash this image into memory either with or without NVIDIA's SDKManager?

How could I resize the root partition?

Your image is great, but it seems to be limited to 32 GB (NVIDIA base installation already done). Do you have a hint, how I could resize the root partition after first start?

Unable to Get OS image from Gdrive Site

This github page directs users to the Gdrive page to get the actual Ubuntu 20.0 OS for Nvidia Jetson Nano Dev Kit. But once at the site and trying to download the OS the following error appears:
"Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator."

This error has consistently been appearing over the past 3 hours.

Does anyone have a work around for this or can the file be placed here, on github?

biuetooth

÷ have a bluetooth HC-05 module I try to connect it but it doesn't work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.