KarhouTam / FL-bench

Benchmark of federated learning. Dedicated to the community. 🤗
GNU General Public License v3.0
505 stars 82 forks source link

Confusion about test_before and test_after #39

Closed RogerRogerUSC closed 1 year ago

RogerRogerUSC commented 1 year ago

Hi karhouTam,

I am just confused about understanding the "after" and "before" of test_acc(before) and test_acc(after) in your code. Could you explain them a little bit? Thank you.

KarhouTam commented 1 year ago

Hi, @RogerRogerUSC . First, thanks for your attention to this project.

The test_before is the weighted accuracy of models that distribute to all test clients. Those models could be different from each other in some pFL methods.

The test_after is the models that mentioned above plus local fine-tuning (by client local training data). The fine-tuning epoch is set by argument --finetune_epoch.

KarhouTam commented 1 year ago

This issue is closed due to long time no response.