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

What is difference between conventional way and federated way #26

Open
RohitSingh1369 opened this issue May 14, 2021 · 2 comments
Open

Comments

@RohitSingh1369
Copy link

No description provided.

@amanapte
Copy link

amanapte commented Sep 29, 2021

This is a simulation of what training using a Federated setting might look like.
Since the entire code is only run on a single kernel, it is only an experimental representation of Federated Learning.

It simulates a client instance with it's own shard of data and creates an object that can take a global model and train it on it's own data shard and returns updated model weights to the simulated server.

This codebase also contains an implementation of Federated Averaging which takes multiple weights of the same model and performs layer-by-layer averaging.

@Xiaoni-61
Copy link

In this project, federated learning only selects a portion of users in each epoch to participate in the model parameter update process, whereas in the original scheme, all users need to participate in this process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants