"python generate_data.py -d cifar10 --iid 1 -cn 20" wil generate none data
Closed this issue · 2 comments
SadAngelF commented
There is a bug in generate_data.py, line 163.
if 0 < args.iid < 1.0:
should be changed as:
if 0 < args.iid <= 1.0:
Beacuse when iid is 1, the data will in iid_data_partition. So args.iid < 1.0 will produce the none data in partition.
KarhouTam commented
Thx. Fixed already.
KarhouTam commented
This issue is closed due to long time no response.