xiaobin1231 / YOLOv5_JDE

Benefit from YOLOv5, we utilize it for multi object tracking.
GNU General Public License v3.0
29 stars 11 forks source link

weights error #1

Open Royzon opened 3 years ago

Royzon commented 3 years ago

Thank you for your contribution. When I run train.py, I meet the following two questions, please help me solve them: first, I can`t download new.pt, because the path to this file does not exist; second, AttributeError: Can't get attribute 'C3' on <module 'models.common' from 'YOLOv5_JDE/models/common.py'>when I use yolov5*.pt to replace it.

github-actions[bot] commented 3 years ago

Hello @Royzon, 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 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:

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

ProBuro commented 3 years ago

I added C3 from the new common.py to the old one, but so far there are errors. yolov5 has changed many times, it already uses transformer layers, and this repo has not been updated for a year.

xiaoaliu commented 2 years ago

have you solve it?I meet the question, please help me solve it: AttributeError: Can't get attribute 'C3' on <module 'models.common' from 'YOLOv5_JDE/models/common.py'>when I use yolov5*.pt to replace it.

xiaoaliu commented 2 years ago

I added C3 from the new common.py to the old one, but so far there are errors. yolov5 has changed many times, it already uses transformer layers, and this repo has not been updated for a year.

Did you run the code successfully? I also meet the question,'C3',and after solving this problem, Transformer, have you solved it?