-
Notifications
You must be signed in to change notification settings - Fork 9.8k
GFocal #3097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GFocal #3097
Conversation
implus
commented
Jun 22, 2020
- add Generalized Focal loss (GFL), including QualityFocalLoss(QFL) and DistributionFocalLoss(DFL)
- add GFL backbone, head, configs, and pretrained models and logs
liaopeiyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to this getting merged into the main branch!
modify variables L, T, R, B to left, top, right, bottom
modify variables into meaningful names: * pt -> scale_factor * a -> pos b -> pos_label * disl -> dis_left disr -> dis_right * wl -> weight_left wr -> weight_right
update formats
|
LGTM. Waiting for the benchmarking results. |
For now, I have finished training some models, which produce the same AP as reported. |
* add gfocal losses * add gfl head, its related code, configs * fix 2x config bug * add most model and log in gfl README * update gfl model and log * Update transforms.py modify variables L, T, R, B to left, top, right, bottom * Update gfocal_loss.py modify variables into meaningful names: * pt -> scale_factor * a -> pos b -> pos_label * disl -> dis_left disr -> dis_right * wl -> weight_left wr -> weight_right * Update gfocal_loss.py update formats * remove duplicated get_bboxes/IoU calculation, make QFL consistent * add all docstring in gfl_head.py and gfocal_loss.py