From 6105732a122f7362ee221b4af97f71d37c0eebf2 Mon Sep 17 00:00:00 2001 From: zed <928255708@qq.com> Date: Sun, 10 Apr 2022 16:06:15 +0800 Subject: [PATCH] [debug] remove v1.1.4, rename v1.1.5. --- fedlab/__init__.py | 2 +- fedlab/core/client/manager.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fedlab/__init__.py b/fedlab/__init__.py index 24cccc51..8a9f2ce1 100644 --- a/fedlab/__init__.py +++ b/fedlab/__init__.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "1.1.4" +__version__ = "1.1.5" diff --git a/fedlab/core/client/manager.py b/fedlab/core/client/manager.py index cf9f0f11..2e544af7 100644 --- a/fedlab/core/client/manager.py +++ b/fedlab/core/client/manager.py @@ -114,8 +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) - + self._network.send(message_code=MessageCode.ParameterRequest, dst=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)