flower icon indicating copy to clipboard operation
flower copied to clipboard

How can I get the error type when occur failure in simulation fit round?

Open Luoyang144 opened this issue 3 years ago • 8 comments

What is your question?

Hello, I'm tring to do simulation experiment and get output like this: image I want to get the error log of client, how can I get it?

Luoyang144 avatar Sep 01 '22 11:09 Luoyang144

If there is an error in your code it shows up in the output, but somethimes I also get failures without any apparent error so I am also interest in that

edogab33 avatar Sep 02 '22 14:09 edogab33

I'm facing the same issue .. it's apparently training but all the logs show that during each round, all clients are failures.

image

Mirian-Hipolito avatar Sep 07 '22 18:09 Mirian-Hipolito

Maybe you already tried it, but try to print the failures list passed as argument in the aggregate_fit() method of the strategy that you're using

edogab33 avatar Sep 07 '22 19:09 edogab33

I met the same problems when using simulation... There are always failures during each round.

wizard1203 avatar Sep 10 '22 04:09 wizard1203

image I apparently raise RuntimeError in the function fit(). But there is only the print of 5 failures without the error log. image

wizard1203 avatar Sep 10 '22 05:09 wizard1203

@wizard1203 try to update the ray version, that solved my problem with the basic example in the repo.

Mirian-Hipolito avatar Sep 12 '22 14:09 Mirian-Hipolito

@Mirian-Hipolito Thanks, let me try it.

wizard1203 avatar Sep 12 '22 14:09 wizard1203

@Mirian-Hipolito Hello, did you meet this problem? I use pip install --upgrade ray to upgrade ray but get this error. image

Luoyang144 avatar Sep 13 '22 09:09 Luoyang144