Skip to content

Commit

Permalink
Update test for online strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedHemati committed Nov 28, 2022
1 parent e7f7232 commit e3f425a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/training/test_online_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def run_strategy_no_boundaries(self, benchmark, cl_strategy):
cl_strategy.train(benchmark.train_stream, num_workers=0)
print("Training completed")

assert cl_strategy.clock.train_exp_counter > 0

print("Computing accuracy on the current test set")
results.append(cl_strategy.eval(benchmark.original_test_stream[:]))

Expand Down

0 comments on commit e3f425a

Please sign in to comment.