-
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
Femnist: IndexError: list index out of range. #22
Comments
Sorry forgot to mention that I just used the default code no modifications at all. Not sure if I'm doing a prep step wrong, compatibility issue or issue with the default code ? Thks Colin . . . |
I have the same problem. |
Did anyone find a solution to this? :( |
Same for CNN in celebA, maybe it is the common bug for image-based classification? |
I also got an error when running My running environment is docker. I successfully generated data by |
Refer to my request.https://github.com/TalwalkarLab/leaf/pull/39 |
I think, you didn't load the dataset properly. |
When I run python main.py -dataset femnist -model cnn -lr 0.06 --minibatch 0.1 --clients-per-round 3 --num-rounds 20
I get the following
======================End of Report==========================
Clients in Total: 0
--- Random Initialization ---
--- Round 1 of 20: Training 3 Clients ---
Traceback (most recent call last):
File "main.py", line 186, in
main()
File "main.py", line 87, in main
server.update_model()
File "/mnt/c/ul/ai/Thesis/DataSet/FEMNIST/leaf-master/leaf-master/models/server.py", line 72, in update_model
base = [0] * len(self.updates[0][1])
IndexError: list index out of range
Any ideas welcome.
The text was updated successfully, but these errors were encountered: