Skip to content

Commit

Permalink
fixed minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiu Abed s295149 committed May 8, 2023
1 parent a4efb75 commit 4a48e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.py
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ def private_train(self):

# Define optimizer
optimizer = optim.SGD(
self._model.parameters(), lr=LR_SGD, momentum=None, weight_decay=WEIGHT_DECAY
self._model.parameters(), lr=LR_SGD, weight_decay=WEIGHT_DECAY
)
LR = LR_SGD
#optimizer = self.consensus_optimizer #parameters to optimize already passed during the init of the client

0 comments on commit 4a48e45

Please sign in to comment.