Let's consider, I have four models following as M1 (client 1), M2 (client 2), M3 (client 3), and M4 (client 4). Each model has a similar structure.
After training for each client model. I have aggregated these models together and create a new model which is let's say "EnsModel". After that, I have used this ensemble model to retrain new data for each client again. However, when I tried to ensemble the updated models again, I faced this problem that says "ValueError: The name "Sequential" is used 4 times in the model. All the layer names should be unique?"
Can anybody help me out? I also have one question. Is there any way that I can model modify the ensemble model structure for each client?
Thank you.