-
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
Fedmix #2213
base: main
Are you sure you want to change the base?
Fedmix #2213
Conversation
Hey @jafermarq. Here is the first working version of the FedMix baseline. I ran an experiment for CIFAR10 using the parameters mentioned in the paper, and the results were different from what were mentioned in the paper. I will look for any implementation detail that must have been missed. Best test accuracy obtained after 500 rounds is 65% currently (should have been ~80%) |
@DevPranjal Thanks for the update! It seems your |
Hey @DevPranjal , any updates for your baseline ? The Summer of Reproducibility ends in 10 days. |
Hello @jafermarq! Really sorry for the late reply. I got caught up in a little academic workload. I have been trying out a lot in reproducing the paper recently, but haven't been able to reproduce the author's results. Here are a few updates:
Working on reproducing the reported results! |
@DevPranjal , thanks for the update! I'll look into your baseline soon (likely today). I will leave some feedback comments for you and maybe I can spot where the issue is. |
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 @DevPranjal,
I have done a first pass through your baseline and left some comments and suggestions. You can apply the changes directly or add a comment if something is not clear. Please flag those you change as "resolved". In addition to that:
- Please remove the
EXTENDED_README.md
from your directory as it was only intended to guide you through the initial steps in creating a baseline. - If you make some plots with your results and you include them in the
README.md
, please keep those in a new directory called_static
(which should be placed in the same directory as the readme).
After adding some packages to the pyproject.toml
and made some of the changes i suggested (i.e. num_cpus
passed to start_simulation
) i was able to launch a generic experiment like this:
python -m fedmix.main
Let me know if this is the command that would generate the results you showed above.
@DevPranjal , please let me know when you would like me to take another look to your baseline. Happy to discuss further the points above. |
Thanks for the review @jafermarq.
Yes, I used this to get the results above. I have made the changes requested in the comments on my remote machine, and will push them right away. |
Hello @jafermarq. I have added the code for FEMNIST data as well, and changed the config structure to make it more user-friendly. |
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 @DevPranjal ,
I'm going through your baseline again. Please find some comments below (mostly minor). I think the main one is to remove the code you borrowed from LEAF and instead tell users to clone the repo themselves. You can add some instructions for them to follow.
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.
Some further comment after looking closely into your dataset creation process.
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
@jafermarq have made some changes. Please have a look. Also attaching current progress for the record |
Add FedMix baseline
Fixes #2051
@jafermarq
Checklist
#contributions
)