Skip to content

Commit

Permalink
Missing indentation in metrics.rst docs (#1379)
Browse files Browse the repository at this point in the history
`compute_on_cpu` should be an internal parameter of `init_args` in the `metrics` configurations.
  • Loading branch information
caiolang authored Sep 28, 2023
1 parent 1952c1b commit 76ab6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/reference_guide/api/metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ Each subsection in the section ``metrics`` of the config file can have a differe
F1Score:
class_path: torchmetrics.F1Score
init_args:
compute_on_cpu: true
compute_on_cpu: true
AUROC:
class_path: anomalib.utils.metrics.AUROC
init_args:
compute_on_cpu: true
compute_on_cpu: true
List of metric names
--------------------
Expand Down

0 comments on commit 76ab6b1

Please sign in to comment.