Skip to content

Commit

Permalink
Update trainer_worker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerseyshin authored Jun 24, 2024
1 parent 4787ef2 commit 27f9f78
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions fedlearner/trainer/trainer_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,18 @@ def create_argument_parser():
type=str,
default='0.25',
help='Marvell sumKL threshold.')
parser.add_argument('--using_fedpass',
type=str_as_bool,
default='False',
help='Whether use fedpass protection.')
parser.add_argument('--fedpass_mean',
type=str,
default='50.0',
help='FedPass secretkey mean.')
parser.add_argument('--fedpass_scale',
type=str,
default='5.0',
help='FedPass secretkey scale.')
parser.add_argument('--using_emb_attack',
type=str_as_bool,
default='False',
Expand Down

0 comments on commit 27f9f78

Please sign in to comment.