FS-TFP/scripts/personalization_exp_scripts/fedem/fedem_lr_on_synthetic.yaml

33 lines
515 B
YAML

use_gpu: True
device: 0
early_stop:
patience: 5
seed: 1
federate:
mode: standalone
total_round_num: 200
sample_client_rate: 0.2
client_num: 300
data:
root: data/
type: synthetic
subsample: 1.0
personalization:
local_update_steps: 30
lr: 0.01
model:
model_num_per_trainer: 3
type: lr
out_channels: 2
train:
local_update_steps: 30
optimizer:
lr: 0.01
weight_decay: 0.0
criterion:
type: CrossEntropyLoss
trainer:
type: nlptrainer
eval:
freq: 10
metrics: ['acc', 'correct']