femnist.py 306 B

123456789101112
  1. import easyfl
  2. config = {
  3. "task_id": "femnist",
  4. "data": {"dataset": "femnist", "split_type": "iid"},
  5. "server": {"rounds": 5, "clients_per_round": 2, "test_all": True},
  6. "client": {"local_epoch": 5},
  7. "model": "lenet",
  8. "test_mode": "test_in_client",
  9. }
  10. easyfl.init(config)
  11. easyfl.run()