bharatsubedi / ALPR-Yolov5

62 stars 20 forks source link

the combine code is not working #6

Closed sekisek closed 3 years ago

sekisek commented 3 years ago

this line: pred = model(img, augment=False)[0]

gives error: 'Hardswish' object has no attribute 'inplace'

probably because torch,torchvision versions.

can you fix it?

sekisek commented 3 years ago

Hi @bharatsubedi

I did manage to work the weights in the yolov5 git ad it worked really nice!! thank you for that!

is there a way I can get a link to the image dataset + annotation that you used so I can improve the accuracy with more images of my own?

bharatsubedi commented 3 years ago

I will not share annotation datasets. sorry