litian96 / FedProx

Federated Optimization in Heterogeneous Networks (MLSys '20)
MIT License
642 stars 157 forks source link

TOFIX: 'Server' object has no attribute 'train_error' #4

Closed cshjin closed 5 years ago

cshjin commented 5 years ago

The following lines are probably out of date, https://github.com/litian96/FedProx/blob/d9cdfddc7a3d511d57ac964745c928194879302e/flearn/trainers/fedavg.py#L72-L74

Update with

stats = self.test()
stats_train = self.train_error_and_loss()
litian96 commented 5 years ago

fixed