Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TsingZ0 committed Mar 28, 2023
1 parent d904916 commit 87c2d12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/flcore/servers/serverfomo.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def train(self):

def send_models(self):
assert (len(self.selected_clients) > 0)
for client in self.selected_clients:
for client in self.clients:
start_time = time.time()

if client.send_slow:
Expand Down
2 changes: 1 addition & 1 deletion system/flcore/servers/serverphp.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def train(self):
def send_models(self, R):
assert (len(self.selected_clients) > 0)

for client in self.selected_clients:
for client in self.clients:
start_time = time.time()

client.set_parameters(self.global_model, R)
Expand Down

0 comments on commit 87c2d12

Please sign in to comment.