diff --git a/fedlab/core/client/manager.py b/fedlab/core/client/manager.py index f8a2cad5..cf9f0f11 100644 --- a/fedlab/core/client/manager.py +++ b/fedlab/core/client/manager.py @@ -114,7 +114,8 @@ def main_loop(self): while True: # request model actively self._LOGGER.info("request parameter procedure") - + self._network.send(message_code=MessageCode.ParameterRequest, src=0) + # waits for data from sender_rank, message_code, payload = self._network.recv(src=0) # sender_rank, message_code, payload = PackageProcessor.recv_package(src=0)