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

where is the code for part of Computational Budget ? #2

Closed
chenslcool opened this issue Jun 26, 2021 · 2 comments
Closed

where is the code for part of Computational Budget ? #2

chenslcool opened this issue Jun 26, 2021 · 2 comments

Comments

@chenslcool
Copy link

In your paper 5.2 and table 2, clients with different hardware capacity can use different model architectures.
I wonder how you implement it using pFedHN.
Nice job, thanks!

@AvivNavon
Copy link
Collaborator

Hi, the hypernetworks (HN) outputs a vector of all target model parameters. Then, according to the client's model capacity, we use only the relevant subset of parameters. Concretely, say we have three target models of sizes x1, x2, x3. The HN outputs a vector V of size x1+x2+x3. Now, if the current client has a model of size x2, we use only the x2 parameters V[x2:x3].
We plan on releasing the corresponding code that implements the models in the future.

@chenslcool
Copy link
Author

chenslcool commented Jul 1, 2021 via email

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

2 participants