Skip to content

Commit

Permalink
fix a bug: start training after set weight (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
qbc2016 authored Mar 24, 2023
1 parent 09edda6 commit d2e7d08
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def callback_funcs_for_local_best_gain(self, message: Message):
self.comm_manager.send(send_message)
else:
self.trainer._set_weight_and_status(tree_num, node_num)
self.train(tree_num=tree_num, node_num=node_num + 1)

# Bind method to instance
client.train = types.MethodType(train, client)
Expand Down

0 comments on commit d2e7d08

Please sign in to comment.