Skip to content

Commit

Permalink
fix(framework): Fix incorrect evaluation flags
Browse files Browse the repository at this point in the history
  • Loading branch information
KarhouTam committed Dec 15, 2024
1 parent 90977b4 commit acfd5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/fedavg.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,12 +908,12 @@ def run(self):
for split, flag in [
(
"train",
self.args.common.eval_train or self.args.common.test_test,
self.args.common.eval_train or self.args.common.test_train,
),
("val", self.args.common.eval_val or self.args.common.test_val),
(
"test",
self.args.common.eval_test or self.args.common.test_train,
self.args.common.eval_test or self.args.common.test_test,
),
]
if flag
Expand Down

0 comments on commit acfd5e3

Please sign in to comment.