-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error with trained YOLOv5 model from latest version #1
Comments
Can you show me the detail error? like line number? where did the error occur? |
Yes sure.
|
Also I used following command:
And it is taking too much RAM, around 20 GB, I think. Is this normal? |
The above error is not related with tracking part. Are you sure you can run the model fine with detection code alone in latest yolov5 code? If you can run fine, you need to clone the new version and change the yolov5 model loading part in |
If you inference on video and the video is taking too long, the RAM usage will be high. Because the processed frame will be accumulated until the video's end to be able to write the output video with torchvision.io. You can also change the video reading and writing function. I chose the torchvision as it is easier to read and no need to install other tool just for read/write function. |
But I have done the detections with YOLOv5, they is no problem with that. |
I found that the latest version of YOLO is not compatible with this project and you should download the YOLO weights from here "https://github.com/ultralytics/yolov5/releases/tag/v5.0" for example you can use this link "https://github.com/ultralytics/yolov5/releases/download/v5.0/yolov5l.pt" |
I forgot to include the version of the yolo model. At the time of my testing, there is only v4.0. So, you can use v4 weights or just edit the code in |
@BarRozenman works fine with weights from https://github.com/ultralytics/yolov5/releases/tag/v4.0 |
I am getting this error:
I am not sure, whether this is due to the latest version or not, but that's what I think. Because similar issues are there in Roboflow Zero-Shot-tracking.
So kindly help me with this.
Thanks
The text was updated successfully, but these errors were encountered: