-
Notifications
You must be signed in to change notification settings - Fork 875
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
FedStar #2482
FedStar #2482
Conversation
Hi @jafermarq , Thanks for the support! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Raj-Parekh24,
I have now completed a first pass through your code. I have highlighted a few formatting issues in the README.md
. In general the main points are:
- It's better not to rely on
tensorflow_addons
since TF warns to not use. - I ran your code for 100 rounds with the default config (i.e.
ambient_context
dataset) but I only saw ~40% accuracy on the server side. - I'm not entirely sure if the logic around your GPU selection for clients is the best. On my system (with just one big GPU) only the server made use of it even though less than 5% of the VRAM was used. Wouldn't it be better to use Flower's simulation engine (i.e. use
start_simulation
as oppose tostart_server
+start_client
?
Ping me again over here or Slack once you had a chance to look into the suggestions mentioned above and also those highlighted below. It would be good to start seeing some results on the README.md
(even if still aren't fully reproducing those in the FedStar
paper).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Raj-Parekh24 , just a couple of points based on our last sync on slack.
gc.collect() | ||
return ( | ||
self.model.get_weights(), | ||
self.num_examples_train, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it correct reporting only the number of labelled examples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought of putting on labeled samples because our semi-supervised architecture is run on the client side and only the unlabelled samples are available there. The server only knows about labeled samples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job @Raj-Parekh24 reproducing FedStar
, a FL method for semi-supervised audio recognition! It's great including a new TensorFlow baseline too.
Thanks a lot @jafermarq, For your guidance and support throughout the project! |
Issue
#2042
Description
Implementation of FedStar in flower.
Related issues/PRs
Proposal
Explanation
Checklist
#contributions
)Any other comments?