Comments (9)
Hello,
Basically, does it matter if the weights are obtained with an older or a newer version of the yolov5? I did not make any modifications here to the yolov5 itself. For me, it is important that the yolov5 uses my weights to detect objects that are of interest to me.
Is it possible that the weight change, the new best.pt file affects the whole model? In the Python version this was not a problem, I have only changed the weights name in the terminal when I have called the yolov5 object detector.
Here, I have changed the weights name in the launch file, however there is a new error (please se the screenshot from yesterday), I have tried to find this error in forums all day, but I didn't find any solution of this problem.
Finally: what does it mean this error/bug?
Exception: Can't get attribute. Cache maybe out of date, try force_reload=TRUE
Please, could you suggest a solution for this?
Thank you in advance for your attention.
from yolov5_ros.
Hello,
Still I cannot run with my weights the yolo in ROS.
The path to the model and to the weights have been added.
When I change the weights, the error is again on.
The force_reload=True does not help. Here is the screenshot.
Hence I have followed all the guides and suggestions, but something is wrong with new weights.
This ROS repo uses your yolov5 model and it works with original *.pt files?
Is it possible that only the weights change can cause these problems?
from yolov5_ros.
Hello Zhitao,
Your ROS yolov5 is now working, however it doesn't recognize my weights. I have changed the weights name in the launch file, and the yolov5 detects the object from the official weights (car, remote), but it should detect the connector on the car.
What could be the problem? Please, will you check it?
from yolov5_ros.
You can modify yolov5 folders for the version you are using
from yolov5_ros.
Hello. Thank you for the response. What folder, exactly what files should I modify and what part. I don't want to spoil the working yolo.
Also, I have deleted the original yolov5.pt from weights folder, then I have copied and renamed my best.pt to yolov5.pt. So how can yolo use the old weights then?
Thank you in advance.
from yolov5_ros.
You can simply replace the entire file yolov5 for the version you are using. Here i use the version of yolov5 P6.0. And the second question, you can re-download the original yolov5.pt and modify the weights folder in the launch file
from yolov5_ros.
Where is the yolov5 file? I can see only yolo.py file.
The weights should not be independent of the yolov5 version?
I only want to change the weights in order to detect my custom object.
This weights replacement works well in Python with this Ultralytics yolo?
I don't need the original yolov5s.pt, I need my weights. I can't use them after I rename my best.pt to yolov5s.pt?
from yolov5_ros.
Hello,
I have added the path to the yolo model, but there is a new error now.
What could be the problem now?
Also, is it not possible to use your model and ROS implementation, but with my best.pt weights? According to the documentation, the *.pt file not depends of the yolo version.
Is this possible? My best.pt is also trained with yolov5s, only in Google Colab and it works well in Python.
from yolov5_ros.
Same problem ,have you solved this?
from yolov5_ros.
Related Issues (10)
- 如何使用自己的训练模型 HOT 2
- Can it run on Jetson? HOT 1
- 请问您使用的什么相机? HOT 2
- tensorrt加速 HOT 2
- 请问没有GPU,纯CPU可以跑您的代码吗? HOT 2
- 请问能否支持rk3588的NPU? HOT 1
- 请问想要显示帧率要怎么做呢?
- error when "sudo pip install -r requirements.txt" HOT 1
- how to do it
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_ros.