Skip to content

Commit

Permalink
Fix log warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjoos committed Apr 2, 2024
1 parent 73e5ea6 commit 9c2289e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracklab/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def evaluate(cfg, evaluator, tracker_state):
if cfg.get("eval_tracking", True) and cfg.dataset.nframes == -1:
log.info("Starting evaluation.")
evaluator.run(tracker_state)
elif cfg.get("eval_tracking", False):
elif cfg.get("eval_tracking", True) == False:
log.warning("Skipping evaluation because 'eval_tracking' was set to False.")
else:
log.warning(
Expand Down

0 comments on commit 9c2289e

Please sign in to comment.