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

关于MHCN代码的Loss function问题请教。 #954

Open
shaitaiyangmie opened this issue Oct 15, 2023 · 0 comments
Open

关于MHCN代码的Loss function问题请教。 #954

shaitaiyangmie opened this issue Oct 15, 2023 · 0 comments

Comments

@shaitaiyangmie
Copy link

请问在计算自监督loss的时候,局部互信息的部分为何是local_loss = paddle.sum(-paddle.log(F.sigmoid(pos - neg1)) -paddle.log(F.sigmoid(neg1 - neg2)))?为什么不是pos-neg2而是neg1-neg2?

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