Update README.md
Browse files
README.md
CHANGED
|
@@ -61,7 +61,7 @@ for score, label, box in zip(results["scores"], results["labels"], results["boxe
|
|
| 61 |
if score > 0.9:
|
| 62 |
print(
|
| 63 |
f"Detected {model.config.id2label[label.item()]} with confidence "
|
| 64 |
-
f"{round(score.item(), 3)} at location {box}
|
| 65 |
)
|
| 66 |
```
|
| 67 |
This should output:
|
|
|
|
| 61 |
if score > 0.9:
|
| 62 |
print(
|
| 63 |
f"Detected {model.config.id2label[label.item()]} with confidence "
|
| 64 |
+
f"{round(score.item(), 3)} at location {box}"
|
| 65 |
)
|
| 66 |
```
|
| 67 |
This should output:
|