Comments (3)
Hello @Munia-AK! 🌟
It seems like the environment constraints on the Jetson Nano are indeed quite challenging. If the package installation persists to be an issue with Python 3.8, and modifying the setup scripts isn’t solving it, an alternate might be to utilize Docker containerization where you could manage different Python environments more flexibly.
Alternatively, redirecting to YOLOv4 is a practical route if it aligns better with the system constraints you're dealing with.
Best of luck, and don't hesitate to reach out if you have further questions or need additional assistance! Have a great day! 😊
from yolov5.
@Munia-AK hi there! 😊
Loading the YOLOv5 model without the Ultralytics package directly isn't supported as the model and the library are tightly integrated. It's essential to use our software to ensure all features and functionalities of YOLOv5 work correctly.
However, you could consider using a virtual environment with Python 3.8 or later while still using Python 3.6 for OpenCV in another environment on your Jetson Nano. This could potentially help you solve the compatibility issues without needing to compromise on the camera input or the performance of YOLOv5.
Let me know if this solution helps or if you have any more questions!
from yolov5.
Hello @glenn-jocher! Thank you for your quick response
I tried doing this but since I'm using Jetson Nano, Python 3.6 is being the default interpreter so even when installing python3.8 and making it as default interpreter I still can't import opencv for python3.8
I don't know if I'm missing something but according to what I found in the NVIDIA forums, Jet Pack 4 won't support installing packages for python 3.8, so when I'm building OpenCV using the shell script that JetsonHacks repository is providing I saw that inside the script there are these lines:
Python 2.7
sudo apt-get install -y python-dev python-numpy python-py python-pytest
Python 3.6
sudo apt-get install -y python3-dev python3-numpy python3-py python3-pytest
so I tried replacing python3 with python 3.8 but I get the error mentioning that the wanted packages can't be found
I will try find a solution for the problem otherwise I will just change to YOLOv4
have a nice day!
from yolov5.
Related Issues (20)
- Does yolov5 need to add additional negative samples? In addition, what is the label format of negative samples HOT 3
- multi-gpu validation HOT 2
- can not convert model to tflite file HOT 3
- Setting up confidence threshold while training HOT 3
- How can a model trained on Ultralytics HUB perform inference prediction on the test set? HOT 3
- Problems with prediction ratios in multi-class training HOT 5
- The GPU is not used when running detection with YOLOv5 HOT 6
- error in cmd HOT 3
- Saving Early Stopping Patience Value in last.pt Checkpoint HOT 2
- Training with HIP/ROCm HOT 3
- Performance difference in model formats HOT 10
- how do i export my yolov5s model to torchscript then download that model as yolov5s.torchscript file? i have no di HOT 3
- Understanding operation inside non_max_suppression() function HOT 9
- yolov5 HOT 3
- mAP of nano and small models for different image sizes HOT 5
- Display YouTube Source + Bounding Boxes HOT 4
- Hello author, can YOLOv5 be downloaded directly from third-party libraries like YOLOv5 and trained directly? I downloaded the yolov5 library and encountered an error when trying to run it HOT 2
- pip dependencies HOT 3
- 只训练COCO数据集中的car和person两类 HOT 2
- Finetuning yolov5 on a custom dataloader HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov5.