deepcam-cn / yolov5-face

YOLO5Face: Why Reinventing a Face Detector (https://arxiv.org/abs/2105.12931) ECCV Workshops 2022)
GNU General Public License v3.0
2.1k stars 501 forks source link

landmarks coordinate #13

Closed eeric closed 3 years ago

eeric commented 3 years ago

in yolov5-face/models/yolo.py, from the 71th to 75th line, such as y[..., 5:7] = y[..., 5:7] self.anchor_grid[i] + self.grid[i].to(x[i].device) self.stride[i] # landmark x1 y1 How did you get this formula?

derronqi commented 3 years ago

Reference bbox calculation