Skip to content
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

Where does the quality_focal_loss function in gfocal_loss.py call the weight_reduce_loss function ? #42

Open
PanffeeReal opened this issue Apr 17, 2024 · 0 comments

Comments

@PanffeeReal
Copy link

论文中的损失函数表达式依然是带有N_pos作为分母,但是在gflv2的代码里实在找不到哪里做了这一步,希望能获得您的解答,十分感谢!


对比于GFLV1版本的gfocal_loss.py, 在v2版本中,gfocal_loss.py中的两个函数,quality_focal_loss 和 distribution_focal_loss 都没有调用weight_reduce_loss函数,请问在该版本的代码中,这个函数是放弃调用了吗?还是说在其他地方调用了?(gfocal_head.py也没有调用)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant