From 859ee3d2e36d9f9f497139ce54d321798766414f Mon Sep 17 00:00:00 2001 From: Zhaoyang Yu Date: Wed, 16 Oct 2024 20:15:15 +0800 Subject: [PATCH] fix test() --- examples/aflow/scripts/optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/aflow/scripts/optimizer.py b/examples/aflow/scripts/optimizer.py index 43268f0f0..d52c65fba 100644 --- a/examples/aflow/scripts/optimizer.py +++ b/examples/aflow/scripts/optimizer.py @@ -184,7 +184,7 @@ class Optimizer: for round in rounds: directory = self.graph_utils.create_round_directory(graph_path, round) - self.graph_utils.load_graph(round, graph_path) + self.graph = self.graph_utils.load_graph(round, graph_path) score, avg_cost, total_cost = await self.evaluation_utils.evaluate_graph_test( self, directory, is_test=True