Closed yenai3726 closed 3 years ago
hey @yenai3726 , you trained wrong way. instead of yolov4.conv.137 (yolov4 weights), you should use yolov4-csp weights, download link below, it will be fine.https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-csp.conv.142
hey @jaqub-manuel Thank you for your attention and answer
oh my mistake I forgot this part about weight and i want to know if i use different yolov4-version weight What effect will it have ?
Hi, im not very tech savvy when it comes to Ai, i'm still learning but from my understanding the weights are tied to the structure of the network, if you use a different weight file on a Yolo version that has a different structure it won't work.
In sum, the weights need to match the yolo version.
I got it thank you for your's answer
HI i get some problem need help
in README.md test use .weight and train is use ' ' or .pt i can't understand should use which one !
first i try to train and i get .pt
and this my order: python train.py --device 0 --batch-size 4 --data plate.yaml --cfg yolov4-csp-plate.cfg --weights 'weights/yolov4.conv.137' --name yolov4-csp
when i try to use test.py , i get this error
i make sure our cfg already change classes and filters
how can i fix this error?