Client not getting selected? How to debug?

Hello everyone,

I am an absolute beginner to flower framework and federated learning. I am going through Intro to Federated Learning in DeepLearning.ai. I am trying to implement the MNIST example given in the third lecture, “Federated Training Process”.

As seen in the image, no client is selected, and the aggregate fit gives “received 0 results and 3 failures”.
NOTE: I even tried copying and pasting the same code from the example, but I still got the same error.

What is the issue here? Why does the code not enter the fit and evaluate functions in FlowerClient class?
How can I debug?

Thanks in advance!

Hello @koushik, welcome to Flower Discuss!

There can be several reasons for the clients not being able to return a result, such as an error in create the reply message. Are you able to share a minimal code example, like in a GitHub repo?

@chongshenng Could you please mention some reasons why it might happen?