From 76d6ef190c347847de53cda9c28c34a459a3231f Mon Sep 17 00:00:00 2001 From: sarthakpati Date: Sat, 3 Feb 2024 12:40:21 -0500 Subject: [PATCH 1/2] updated api --- openfl/federated/task/runner_gandlf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openfl/federated/task/runner_gandlf.py b/openfl/federated/task/runner_gandlf.py index 19da03f55c..35a964fff8 100644 --- a/openfl/federated/task/runner_gandlf.py +++ b/openfl/federated/task/runner_gandlf.py @@ -19,7 +19,7 @@ from GANDLF.compute.generic import create_pytorch_objects from GANDLF.compute.training_loop import train_network from GANDLF.compute.forward_pass import validate_network -from GANDLF.parseConfig import parseConfig +from GANDLF.config_manager import ConfigManager class GaNDLFTaskRunner(TaskRunner): @@ -49,9 +49,9 @@ def __init__( gandlf_config = yaml.safe_load(open(gandlf_config, "r")) try: - gandlf_config = parseConfig(gandlf_config) + gandlf_config = ConfigManager(gandlf_config) except Exception: - self.logger.info("WARNING: GANDLF.parseConfig did not work as expected.") + self.logger.info("WARNING: GANDLF.config_manager.ConfigManager did not work as expected.") ( model, From 8ccb0eb2cf9c50d5be63380fe8b3c10d65db049a Mon Sep 17 00:00:00 2001 From: Sarthak Pati Date: Wed, 14 Feb 2024 09:52:12 -0500 Subject: [PATCH 2/2] Update runner_gandlf.py --- openfl/federated/task/runner_gandlf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfl/federated/task/runner_gandlf.py b/openfl/federated/task/runner_gandlf.py index 35a964fff8..1553e51b6b 100644 --- a/openfl/federated/task/runner_gandlf.py +++ b/openfl/federated/task/runner_gandlf.py @@ -51,7 +51,7 @@ def __init__( try: gandlf_config = ConfigManager(gandlf_config) except Exception: - self.logger.info("WARNING: GANDLF.config_manager.ConfigManager did not work as expected.") + self.logger.info("WARNING: GANDLF.config_manager.ConfigManager did not work.") ( model,