fix test()

This commit is contained in:
Zhaoyang Yu 2024-10-16 20:15:15 +08:00
parent 390b65fda3
commit 859ee3d2e3

View file

@ -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