We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
你好,默认不提供通过设置参数来保存模型。如需保存模型,建议继承类flgo.experiment.logger.BasicLogger并重写log_once函数,它每隔数轮(eval_interval)会被执行一次 ,用于评估当前模型,这里头也适用于写模型参数的保存部分,例如: `class MyLogger(BasicLogger): def log_once(self): # 保存模型 ... torch.save(self.server.model, save_path) ...
flgo.init(...,Logger=MyLogger, ...) `
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: