Skip to content

[Q&A] How to save the global model at the client side after the last round? #2438

Closed Answered by SYangster
vcvandersluis asked this question in Q&A
Discussion options

You must be logged in to vote

I see you changed the task name from “train” to “save_global_model” which is good. However since this is no longer a “train” task we should remove the self._prepare_train_task_data and self._process_train_result callbacks from the save_model_task (the callbacks can be None), so we don’t unnecessarily invoke the InTimeAccumulateWeightedAggregator or IntimeModelSelector during our new "save_global_model" task.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@vcvandersluis
Comment options

@SYangster
Comment options

Answer selected by vcvandersluis
@YuanTingHsieh
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants