DeepSORT_YOLOv5_Pytorch icon indicating copy to clipboard operation
DeepSORT_YOLOv5_Pytorch copied to clipboard

Can not use the latest yolov5 weights.

Open kumi123 opened this issue 3 years ago • 4 comments

Hey,wonderful job! But when I used the latest weights , error shows like "AttributeError: Can't get attribute 'C3' on <module 'models.common' ".And I found out that latest yolov5 project is necessary. Do you have any plan to update this project?

kumi123 avatar Mar 02 '21 09:03 kumi123

Same here ! AttributeError: Can't get attribute 'C3' on <module 'models.common'

AbhishekMaity001 avatar Sep 22 '21 20:09 AbhishekMaity001

That is because the latest YOLO v5 repo is updating day by day as they are improving the framework... probably you can take a snapshopt of any old commit of yolo v5 repo and train on that ... then you can use that model (.pt) here ... you wont be facing the error then. (I also faced similar issue then resolved)

AbhishekMaity001 avatar Oct 22 '21 18:10 AbhishekMaity001

what is the yolov5‘version in this project? so that i can find the right weight version

Xbotgo-Justin1 avatar Nov 11 '22 02:11 Xbotgo-Justin1

Have you solved it yet?

Lanson426 avatar Aug 27 '23 14:08 Lanson426