Open lloveapple opened 1 year ago
Excuse me,have you solved your problem? I got the same question which is if the layers of BN did not join in the aggration, the globle model had no paramters about this layers, so how to test
+1, I suppose it use the client to test the acc, maybe in average
Hi,
Thanks for your interest in our work. When doing testing, we will use client models for each training client. For external clients, we suggest using the averaged BN parameters from training clients, or you can re-estimate the new BN statistics during the test time, please refer to our other work (https://arxiv.org/abs/2110.09974).
I have tried various methods to test the code of fedbn (use the trained model, input a picture for prediction), fedbn can not give the correct result, but fedavg is normal