Skip to content

Commit

Permalink
🔧 Ignore temporary dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
o-laurent committed Oct 2, 2024
1 parent 79480a2 commit 60fbe40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_uncertainty/utils/evaluation_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _print_results(results: list[_OUT_DICT], stage: str) -> None:
)
reg_metrics = OrderedDict(sorted(metrics["reg"].items()))
for metric, value in reg_metrics.items():
if metric in percentage_metrics:
if metric in percentage_metrics: # coverage: ignore
value = value * 100
table.add_row(metric, f"{value.item():.2f}%")
else:
Expand Down

0 comments on commit 60fbe40

Please sign in to comment.