tensorflow-yolov4-tflite
tensorflow-yolov4-tflite copied to clipboard
Error in anchors for Yolov4 tiny
The anchors defined for YOLOv4 tiny network are different than those given in original YOLOv4 tiny in darknet. https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov4-tiny.cfg Original anchors are: anchors = 10,14, 23,27, 37,58, 81,82, 135,169, 344,319 In config.py, the anchors are: __C.YOLO.ANCHORS_TINY = [23,27, 37,58, 81,82, 81,82, 135,169, 344,319]
This can create wrong outputs if model is trained on darknet and this repo is used for model conversion and inference. If these settings are as per some specific application then we can close this issue.
Hi, if this finding is true, can i simply change the anchors values to solve this ?