-
Notifications
You must be signed in to change notification settings - Fork 244
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
Low accuracy for femnist #4
Comments
I have the same problems and I also have results around 50 % for the small sent140 dataset. Could you provide accuracy values incl. used parameters/data set sizes etc for the three datasets, @scaldas? Many thanks. |
@Enehta I was able to reproduce sent140 experiments with the following settings:
For 2 clients, 10 rounds and k=100, the model converges to mean accuracy of ~60% (10th percentile: 25%, 90th percentile: 100%). Can you try this and see if it works out? |
@slowbull @Enehta for the FEMNIST experiments, I have a script in an open PR that should be able to run the experiments (https://github.com/TalwalkarLab/leaf/blob/5aab2848844c82cce82769be1fd4bd14c891c920/femnist.sh). The results generated are qualitatively similar to those reported in the paper. Can you try this and let me know if it works for you? |
@gokart23 I tried both scripts and have not finished all configurations yet, but the FEMNIST script converges around 80 % and the sent140 max. at 60 %. Does that fit to your best results? |
@gokart23 You are creating the data iid, but what is with niid? have you reached good accuracy values there? |
@Enehta Have you reproduced the result of FEMNIST in non-i.i.d. in the original paper? |
I tried you script with small femnist data:
python3 main.py -dataset femnist -model cnn
the average accuracy is less than 0.1 after 400 rounds.
I also run sgd algorithm:
python3 main.py -dataset femnist -model cnn --minibatch 1.0
the accuracy is still less than 0.1.
Any thoughts?
thanks!
The text was updated successfully, but these errors were encountered: