Skip to content

Commit 9bd7833

Browse files
Update doc
1 parent c3c0606 commit 9bd7833

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/metrics/hard-label.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ with config file:
102102
# compute the metrics
103103
>>> evaluator.compute_metrics(image_tensor=image_tensor, hard_labels=hard_labels)
104104
# alternatively, you can provide the image path
105-
>>> evaluator.compute_metrics(image_path='path/to/image.png', hard_labels=hard_labels)
105+
>>> evaluator.compute_metrics(image_path='path/to/image/folder/', hard_labels=hard_labels)
106106
```
107107

108108
with keyword arguments:
@@ -134,5 +134,5 @@ with keyword arguments:
134134
# compute the metrics
135135
>>> evaluator.compute_metrics(image_tensor=image_tensor, hard_labels=hard_labels)
136136
# alternatively, you can provide the image path
137-
>>> evaluator.compute_metrics(image_path='path/to/image.png', hard_labels=hard_labels)
137+
>>> evaluator.compute_metrics(image_path='path/to/image/folder/', hard_labels=hard_labels)
138138
```

doc/metrics/soft-label.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ with config file:
119119
# compute metrics
120120
>>> evaluator.compute_metrics(image_tensor=image_tensor, soft_labels=soft_labels)
121121
# alternatively, provide image path
122-
>>> evaluator.compute_metrics(image_path='path/to/image.jpg', soft_labels=soft_labels)
122+
>>> evaluator.compute_metrics(image_path='path/to/image/folder/', soft_labels=soft_labels)
123123
```
124124

125125
with keyword arguments:
@@ -148,5 +148,5 @@ with keyword arguments:
148148
# compute metrics
149149
>>> evaluator.compute_metrics(image_tensor=image_tensor, soft_labels=soft_labels)
150150
# alternatively, provide image path
151-
>>> evaluator.compute_metrics(image_path='path/to/image.jpg', soft_labels=soft_labels)
151+
>>> evaluator.compute_metrics(image_path='path/to/image/folder/', soft_labels=soft_labels)
152152
```

0 commit comments

Comments
 (0)