FedML-AI / FedNLP

FedNLP: An Industry and Research Integrated Platform for Federated Learning in Natural Language Processing, Backed by FedML, Inc. The Previous Research Version is Accepted to NAACL 2022
223 stars 45 forks source link

how to change the number of client #25

Open haohaoer opened 2 years ago

haohaoer commented 2 years ago

Hi. When I try to change the total number of clients in a distributed cluster,I used "--client_num_in_total" to specify it, but it didn't work. Could you tell me how to change the total number of client? Thank you!

DeviRule commented 2 years ago

Do you mean to change the number of clients for partition?

bangawayoo commented 2 years ago

To change the total number of clients, you should create another partition h5 file. This can be done in data/advanced_partition. I found the README in the directory helpful.