Error running embedded devices

Hi I was trying to run this example on a laptop with the superlink and a super node on it and the other node in a raspberry pi 3B+
The client running on the laptop works well and the other one in the raspi same but when I launch flwr run . embedded-federation the training on the client in raspi launch this error:

ERROR : ClientApp raised an exception
Traceback (most recent call last):
File “/home/user/.pyenv/versions/3.11.2/envs/my-env/lib/python3.11/site-packages/flwr/client/app.py”, line 562, in start_client_internal
outputs = clientappio_servicer.get_outputs()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/user/.pyenv/versions/3.11.2/envs/my-env/lib/python3.11/site-packages/flwr/client/clientapp/clientappio_servicer.py”, line 235, in get_outputs
raise ValueError(“ClientAppOutputs not set before calling get_outputs.”)
ValueError: ClientAppOutputs not set before calling get_outputs.

Anyone can help me with this.
Thank you.
Best.

1 Like

Hi @raul3497,

I can think of two reasons why this might happen:

  1. Have you installed all the dependencies on your RapsberryPi? (e.g. for example your ClientApp might need PyTorch, then you should install it in your RPi env).
  2. It could be that the RaspberryPi is running out of memory and crash. Have you observed high RAM utilization when you run your SuperNode on the RPi?

Finally, is the error log you included in your post the complete error trace?

Hi Javier, I retried all the example I installed the dependencies and checked the RAM usage but I’m getting the same error.
I’m attaching the capture.
Thank you.
Best.