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

The split of the femnist dataset train and test data in the file (femnist/split_data.py) #2

Open
Yupeng-mango opened this issue Feb 16, 2022 · 0 comments

Comments

@Yupeng-mango
Copy link

Yupeng-mango commented Feb 16, 2022

Hi authors,

When I running ./data/femnist/preprocess.sh to get the femnist dataset, I met a problem about the split of train and test data.
Is there a small mistake in the file (femnist/split_data.py) ?
The line 118 of the file: ./data/femnist/split_data.py
should be test_indices = list(set(worker_indices) - set(train_indices))
instead of test_indices = list(set(indices) - set(train_indices)).

Thanks.

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

1 participant