From 6658aa82dfaa2518ccb6698ee9bdac925a7cb286 Mon Sep 17 00:00:00 2001 From: "Chaurasiya, Payal" Date: Wed, 22 Jan 2025 03:12:16 -0800 Subject: [PATCH] Fix docker run Signed-off-by: Chaurasiya, Payal --- tests/end_to_end/test_suites/tr_with_eval_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end_to_end/test_suites/tr_with_eval_tests.py b/tests/end_to_end/test_suites/tr_with_eval_tests.py index 2c7c97546f..a421c5aa27 100644 --- a/tests/end_to_end/test_suites/tr_with_eval_tests.py +++ b/tests/end_to_end/test_suites/tr_with_eval_tests.py @@ -82,8 +82,8 @@ def test_eval_federation_via_dockerized_workspace(request, fx_federation_tr_dws) ), "Federation completion failed" # Set the best model path - request.config.best_model_path = os.path.join(fx_federation_tr.aggregator.workspace_path, "save", "best.pbuf") - metric_file_path = os.path.join(fx_federation_tr.aggregator.workspace_path, "logs", "aggregator_metrics.txt") + request.config.best_model_path = os.path.join(fx_federation_tr_dws.aggregator.workspace_path, "save", "best.pbuf") + metric_file_path = os.path.join(fx_federation_tr_dws.aggregator.workspace_path, "logs", "aggregator_metrics.txt") model_accuracy = get_aggregated_accuracy(metric_file_path) log.info(f"Model accuracy post {request.config.num_rounds} rounds: {model_accuracy}")