FS-TFP/scripts/personalization_exp_scripts/pfedme/pfedme_lr_on_synthetic.yaml

36 lines
540 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
batch_size: 64
subsample: 1.0
personalization:
K: 3
beta: 1
local_update_steps: 30
lr: 0.5
regular_weight: 1
model:
type: lr
out_channels: 2
train:
local_update_steps: 30
optimizer:
lr: 0.5
weight_decay: 0.0
criterion:
type: CrossEntropyLoss
trainer:
type: nlptrainer
eval:
freq: 10
metrics: ['acc', 'correct']