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

digits experiment (precision) #1

Closed
wnma3mz opened this issue Feb 20, 2021 · 2 comments
Closed

digits experiment (precision) #1

wnma3mz opened this issue Feb 20, 2021 · 2 comments

Comments

@wnma3mz
Copy link

wnma3mz commented Feb 20, 2021

Hi, I came across your work. It was an interesting idea, but it ran into some problems during the experiment.

When I clone your code, run the command below. The accuracy in the paper cannot be obtained.

# benchmark experiment
python fed_digits.py --mode fedbn --iters 300

This is my best experiment.

============ Train epoch 208 ============
 MNIST      | Train Loss: 0.0003 | Train Acc: 1.0000
 SVHN       | Train Loss: 0.0010 | Train Acc: 1.0000
 USPS       | Train Loss: 0.0004 | Train Acc: 1.0000
 SynthDigits| Train Loss: 0.0007 | Train Acc: 1.0000
 MNIST-M    | Train Loss: 0.0007 | Train Acc: 1.0000
 MNIST      | Test  Loss: 0.0985 | Test  Acc: 0.9689
 SVHN       | Test  Loss: 0.9124 | Test  Acc: 0.7232
 USPS       | Test  Loss: 0.1033 | Test  Acc: 0.9683
 SynthDigits| Test  Loss: 0.5342 | Test  Acc: 0.8359
 MNIST-M    | Test  Loss: 0.6474 | Test  Acc: 0.7904

Did I miss any details?

My platform

Ubuntu 20.04
GeForce RTX 2080 Ti
Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz

Thanks for taking the time to help!

@MeiruiJiang
Copy link
Member

Hi, we have updated our published code and the absolute values for fedbn have some changes, please refer to the latest version. https://arxiv.org/pdf/2102.07623.pdf

@wnma3mz
Copy link
Author

wnma3mz commented Feb 20, 2021

Hi, we have updated our published code and the absolute values for fedbn have some changes, please refer to the latest version. https://arxiv.org/pdf/2102.07623.pdf

Thank you very much for your prompt reply!

That helps me a lot!

@wnma3mz wnma3mz closed this as completed Feb 20, 2021
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