AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

regression target #834

Open kwkwvenusgod opened 6 years ago

kwkwvenusgod commented 6 years ago

As we all know, generating proper anchor boxed and feeding them to the network is really important step in this object detection. But from this impl https://github.com/thtrieu/darkflow/blob/master/darkflow/net/yolov2/data.py#L21, it seems to omit the anchor scheme. So I jumped to your implementation. Can I know which part is to implement the network feed correlated with the anchor boxes? I appreciate it a lot if you can answer me.

AlexeyAB commented 6 years ago

For Yolov2: biases[] - is an anchor boxes: