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

Why do you use tgt_soft_label.detach() in Ladv? #28

Open
Sarmadfismael opened this issue Mar 28, 2023 · 0 comments
Open

Why do you use tgt_soft_label.detach() in Ladv? #28

Sarmadfismael opened this issue Mar 28, 2023 · 0 comments

Comments

@Sarmadfismael
Copy link

Sarmadfismael commented Mar 28, 2023

thank you for sharing the code, I have a quaestio related with Ladv, why do you use the detach () in Ladv in this line:

tgt_soft_label = tgt_soft_label.detach()

I ask this question because in training of semantic segmentation we need tgt_soft_label to fool the disc model?

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