KarhouTam/FL-bench

"python generate_data.py -d cifar10 --iid 1 -cn 20" wil generate none data

Closed this issue · 2 comments

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.

Thx. Fixed already.

This issue is closed due to long time no response.