Closed einareinarsson closed 3 years ago
What is yolov4 version?
python3 -m pip show yolov4
2.1.0 By the way, can I realistically expect better performance using the larger architecture?
print(len(yolo.classes))
is it 80?
larger? did you mean yolov4 vs yolov4-tiny? and performance? FPS? accuracy? recall?
len(yolo.classes)
is 12.
By "larger" I mean yolov4. By performance mAP for example.
257,717,640 bytes weight is for 80 classes.
yolov4 mAP50 is 60~. yolov4-tiny mAP50 is 30~.
https://wiki.loliot.net/docs/lang/python/libraries/yolov4/python-yolov4-about#performance
I see. But again, in case of yolo4-tiny.conv.29
changing the number of classes works just fine. Does it mean that training with len(yolo.classes) != 80
works with tiny YOLOv4, but not with large YOLOv4? Doesn't it make training option for large YOLOv4 senseless?
yolov4.conv.137 is for yolov4.
anyway, the number of classes affects on neck layer.
yolov4.conv.137 or yolo4-tiny.conv.29 is extracted only from the first layer to the part that is not affected by the number of classes.
I tried to train a new model based on the existing
yolov4.weights
(257.7 MB) by the following:with the following error:
ValueError: Model and weights file do not match.
I cannot figure out what could be the problem. Training started with
yolo4-tiny.conv.29
works fine, however (although instantiating YOLOv4 with tiny=False this time seems no effect at all, still works).