|
Algorithm 1 FedT2TGAN Training Procedure. |
Input: Training sample pairs of ABP and PPG = ()
Output: GAN Model T2TGAN
Initialise global-model
Synchronise client-models with global-model
for num clients do
# Communication Round
Select 6 random client-models to train
for each client-model do
# client-model training
for num epochs do
# Calculate identity, cycle and adversarial losses
L = GetGANLosses(, )
# Update weights of client-model
W = UpdateClientWeights(L)
end for
Aggregate client-model’s weights with global-model
end for
end for
Generate ABP waveforms from unseen PPG using trained global-model
|