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

The loss function of inner loop #2

Open
pipiPdesu opened this issue Feb 27, 2024 · 0 comments
Open

The loss function of inner loop #2

pipiPdesu opened this issue Feb 27, 2024 · 0 comments
Assignees

Comments

@pipiPdesu
Copy link

Thanks for sharing your amazing work!

I noticed that the loss function of the inner loop shoulde be binary cross entropy loss but in demo it was assigned as MSEloss, I wonder is it has a side effect on the final result.

image

Additionally, I've noted that the 'o_model', which was referenced in #1 and utilized in the inner loop, is trained with a poison rate of 0.1, while the 'train_dataset' in the demo has a poison rate of 0.05. My understanding is that the 'o_model' should be trained on the same poisoned 'train_dataset'. However, it appears that they are not identical. I'm wondering if this discrepancy could also influence the final results.

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