File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
108108with 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```
Original file line number Diff line number Diff 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
125125with 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```
You can’t perform that action at this time.
0 commit comments