remote_client.py 329 B

123456789
  1. import easyfl
  2. from client import FedReIDClient
  3. from dataset import prepare_train_data, prepare_test_data, DB_NAMES
  4. from model import Model
  5. train_data = prepare_train_data(DB_NAMES)
  6. test_data = prepare_test_data(DB_NAMES)
  7. easyfl.start_remote_client(train_data=train_data, test_data=test_data, client=FedReIDClient, model=Model)