-
Notifications
You must be signed in to change notification settings - Fork 82
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
Update the codebase for gradient leakage attacks #377
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* removed the hard coded gt plots for now, will fix the way it looks in another patch * added our defense (Outpost) as an accepted defence * Added proper handling for exceptions when loss becomes NaN
* changed the gt plots to be saved as a pdf by default now. Added customisations to the plot for multiple images, with adge cases handled as well * added the config file
…e same layout as the ground truth (which is customisable) (#16)
Still need to comment out mps device: "derivative for aten::mps_linear_backward is not implemented" error in `rec_loss.backward()`
to avoid changing the basic trainer
train_step_start() and perform_forward_and_backward_passes()
and improve some function docstrings
✅ Deploy Preview for platodocs canceled.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A general update for the code under the folder
examples/gradient_leakage_attacks
.Description
How has this been tested?
Run experiments by cmd
python dlg.py -c untrained_eval.yml
while altering hyperparameters regarding datasets, models, attacks and defenses, etc.Types of changes
Checklist: