Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetson nano (on Jetpack 4.4) - freeze #109

Closed
gkomix88 opened this issue Jun 17, 2020 · 9 comments
Closed

Jetson nano (on Jetpack 4.4) - freeze #109

gkomix88 opened this issue Jun 17, 2020 · 9 comments
Labels
bug Something isn't working Stale

Comments

@gkomix88
Copy link

Hi,
I had configured fixed all the output errors from Jetson nano running Jetpack 4.4
However, when I tried to run the following command:

python3 detect.py --source ./inference/images/ --weights ./weights/yolov5s.pt --conf 0.4

The jetson nano output the following and freezed.

Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.4, device='', fourcc='mp4v', half=False, img_size=640, iou_thres=0.5, output='inference/output', save_txt=False, source='./inference/images/', view_img=False, weights='./weights/yolov5s.pt')
Using CUDA device0 _CudaDeviceProperties(name='NVIDIA Tegra X1', total_memory=3956MB)

Additional installations required to fix Jetson errors are below:

for OSError: libmpi_cxx.so.20

sudo apt-get install openmpi-bin

ImportError: libopenblas.so.0

sudo apt-get install libopenblas-dev

pip3 install Pillow==2.2.2
sudo apt install libfreetype6-dev
pip3 install matplotlib
pip3 install torchvision


Is there is anything wrong on the configuration? Can anyone able to run Yolov5 on Jetson Nano (with Jetpack 4.4) successfully? Hope can shared the additional installation and configuration here.

Thanks.

@gkomix88 gkomix88 added the bug Something isn't working label Jun 17, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2020

Hello @gkomix88, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook Open In Colab, Docker Image, and Google Cloud Quickstart Guide for example environments.

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:

  • Cloud-based AI systems operating on hundreds of HD video streams in realtime.
  • Edge AI integrated into custom iOS and Android apps for realtime 30 FPS video inference.
  • Custom data training, hyperparameter evolution, and model exportation to any destination.

For more information please visit https://www.ultralytics.com.

@glenn-jocher
Copy link
Member

@gkomix88 see #53 perhaps.

@123456789mojtaba
Copy link

123456789mojtaba commented Jul 5, 2020

Hi,
I had configured fixed all the output errors from Jetson nano running Jetpack 4.4
However, when I tried to run the following command:

python3 detect.py --source ./inference/images/ --weights ./weights/yolov5s.pt --conf 0.4

The jetson nano output the following and freezed.

Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.4, device='', fourcc='mp4v', half=False, img_size=640, iou_thres=0.5, output='inference/output', save_txt=False, source='./inference/images/', view_img=False, weights='./weights/yolov5s.pt')

Using CUDA device0 _CudaDeviceProperties(name='NVIDIA Tegra X1', total_memory=3956MB)
Additional installations required to fix Jetson errors are below:

for OSError: libmpi_cxx.so.20

sudo apt-get install openmpi-bin

ImportError: libopenblas.so.0

sudo apt-get install libopenblas-dev

pip3 install Pillow==2.2.2
sudo apt install libfreetype6-dev
pip3 install matplotlib
pip3 install torchvision

Is there is anything wrong on the configuration? Can anyone able to run Yolov5 on Jetson Nano (with Jetpack 4.4) successfully? Hope can shared the additional installation and configuration here.

Thanks.

Hi.I implement it in jetson nano but I don't have your problem. I have another.
pip3 install matplotlib doesn't work for me.

@gkomix88
Copy link
Author

gkomix88 commented Jul 5, 2020

Hi,
I had configured fixed all the output errors from Jetson nano running Jetpack 4.4
However, when I tried to run the following command:
python3 detect.py --source ./inference/images/ --weights ./weights/yolov5s.pt --conf 0.4

The jetson nano output the following and freezed.

Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.4, device='', fourcc='mp4v', half=False, img_size=640, iou_thres=0.5, output='inference/output', save_txt=False, source='./inference/images/', view_img=False, weights='./weights/yolov5s.pt')

Using CUDA device0 _CudaDeviceProperties(name='NVIDIA Tegra X1', total_memory=3956MB)
Additional installations required to fix Jetson errors are below:

for OSError: libmpi_cxx.so.20

sudo apt-get install openmpi-bin

ImportError: libopenblas.so.0

sudo apt-get install libopenblas-dev
pip3 install Pillow==2.2.2
sudo apt install libfreetype6-dev
pip3 install matplotlib
pip3 install torchvision
Is there is anything wrong on the configuration? Can anyone able to run Yolov5 on Jetson Nano (with Jetpack 4.4) successfully? Hope can shared the additional installation and configuration here.
Thanks.

Hi.I implement it in jetson nano but I don't have your problem. I have another.
pip3 install matplotlib doesn't work for me.

@123456789mojtaba - You can refer to https://forums.developer.nvidia.com/t/jetson-nano-how-can-install-matplotlib/75132

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Aug 5, 2020
@123456789mojtaba
Copy link

123456789mojtaba commented Aug 5, 2020 via email

@muhk01
Copy link

muhk01 commented Aug 11, 2020

i was sucessfully run on jetson nano, i got around 4-10fps depending on how many bounding boxes present in the frame, setup i just did only build pytorch 1.5 manually from sources and install its prerequisites.

@seanavery
Copy link

@gkomix88 I am working on a lightweight TensorRT and Numpy implementation for inference on Jetson Nano. If useful, you can find the repo here: https://github.com/SeanAvery/yolov5-tensorrt.

@gkomix88
Copy link
Author

@seanavery Hi, thanks for sharing, will try to contribute too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

5 participants