Skip to content

Commit

Permalink
Update clientbase.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TsingZ0 committed Mar 17, 2024
1 parent f6d9cfa commit 3d0c8fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/flcore/clients/clientbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Client(object):
"""

def __init__(self, args, id, train_samples, test_samples, **kwargs):
torch.manual_seed(0)
self.model = copy.deepcopy(args.model)
self.algorithm = args.algorithm
self.dataset = args.dataset
Expand Down

0 comments on commit 3d0c8fa

Please sign in to comment.