Closed RogerRogerUSC closed 1 year ago
Dear @RogerRogerUSC thank you for using the solution.
It seems the error is about the total number of clients in the dataset being only 1.
And you're trying to sample more than 1 client, in fact, you sample 10 clients uniformly at random during each round (outer iterations)
Please use the CIFAR10_FL dataset it has a split of datasets across 10 clients.
Dear @burlachenkok , thank you for your reply! I just changed the configuration as you instructed, but a new error occurred, so I may still need your help.
Sure!
First of all, I suggest to:
All text you can put here.
Hi @burlachenkok, I was trying different parameters, models and datasets many times, but it kept showing "RuntimeError: expected scalar type Long but found Double." Have you encountered this error before?
Hello.
Sorry for the late replies, I was on a deadlines.
Dear @RogerRogerUSC . I'm closing the ticket, in case of any problems please reopen it in future.
@burlachenkok Hi, I am really interested in your project and have established the environment. However, when I ran it, I could not get the result successfully. One of the errors I met showed "ValueError: Cannot take a larger sample than population when 'replace=False'." Do you have any solutions for this? Thank you! Configuration: