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

Balance between the perturbation loss and adversarial loss. Or other training strategy? #11

Open
zhenyu-brice-zhao opened this issue Nov 11, 2021 · 0 comments

Comments

@zhenyu-brice-zhao
Copy link

Hello,
I applied your model with the same optimizer and learning rate as yours. For the adversarial loss, I used the cosine similarity (the same as yours, too, if I didn't misunderstand). While from the second or third epoch, the perturbation loss has reduced to 0 while the cosine similarity is up to 1. I have tried 1:10, 1:100, and 1:2000 three different proportions of pert loss and adv loss, but none works.
Have you ever had similar problem or what other strategy for training did you applied?
Thanks.

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