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

PCNN 多实例损失函数问题 #44

Open
VinnyHu opened this issue Nov 30, 2019 · 1 comment
Open

PCNN 多实例损失函数问题 #44

VinnyHu opened this issue Nov 30, 2019 · 1 comment

Comments

@VinnyHu
Copy link

VinnyHu commented Nov 30, 2019

作者您好,想和您探讨下2015年的那篇PCNN论文的损失函数问题,看您在博客中的描述和原论文中的描述,我对bag级别的损失函数理解如下:①对于某个bag,假设label为1,则在该bag所有的instances中选择label为1 预测 概率最大的那个instances 代表该bag。②针对上面选择的logits,对T个bag计算交叉熵。
然后16年刘知远他们的改进就是在这个选择的部分引入了 attention 分数。
这样对吗?谢谢您

@ShomyLiu
Copy link
Owner

你好! 你的理解是正确的,区别就在instance pooling阶段,一个是取max, 一个是attention.

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

2 participants