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

损失函数的实现 #10

Open
Mhaiyang opened this issue Jun 1, 2020 · 0 comments
Open

损失函数的实现 #10

Mhaiyang opened this issue Jun 1, 2020 · 0 comments

Comments

@Mhaiyang
Copy link

Mhaiyang commented Jun 1, 2020

你好,关于损失函数有两个地方不太理解,wbce = (weit*wbce).sum(dim=(2,3))/weit.sum(dim=(2,3)),这一句中,分母是权重的和,而论文中是ya的和。第二个就是计算iou时,分子分母都加了一个1,目的是避免0/0的情况吗?谢谢

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