Skip to content
New issue

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

How to let the client train using the initial model provided by the server? #3301

Open
zhangtian-3841 opened this issue Apr 22, 2024 · 0 comments
Labels
question Further information is requested

Comments

@zhangtian-3841
Copy link

zhangtian-3841 commented Apr 22, 2024

What is your question?

Dear Flower developers,

Hello! Thank you for your excellent work in helping me solve many problems! However, I have some questions and I sincerely ask for your assistance:

question 1:

  • In the process of implementing federated learning based on Flower and PyTorch, I found that the initial model loaded by the client before training is local.
  • However, in certain cases, I need the client to train using the initial model provided by the server(For example, I need the client to continue training using the global model obtained from previous training sessions.).

question 2:

  • During the training process, on certain conditions (e.g., a specific port is accessed and requests an immediate halt to the training), how can I make the server or client stop the training process proactively?
  • I noticed that the disconnect_all_clients function can stop the federated learning process for a server that exceeds the specified number of rounds. Can I modify it to achieve my goal?

Thank you for your assistance!

@zhangtian-3841 zhangtian-3841 added the question Further information is requested label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant