Object Detection
Transformers
Safetensors
detr
computer-vision
text-detection
historical-documents
Eval Results (legacy)
Instructions to use harness-race/opencode-r2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use harness-race/opencode-r2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="harness-race/opencode-r2")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("harness-race/opencode-r2") model = AutoModelForObjectDetection.from_pretrained("harness-race/opencode-r2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
report validation results
Browse files
README.md
CHANGED
|
@@ -26,14 +26,17 @@ model-index:
|
|
| 26 |
split: validation
|
| 27 |
metrics:
|
| 28 |
- type: mean_average_precision
|
| 29 |
-
value: 0.
|
| 30 |
name: COCO mAP @ [0.5:0.95]
|
| 31 |
- type: coco_ap_50
|
| 32 |
-
value: 0.
|
| 33 |
name: COCO AP@IoU0.5
|
| 34 |
-
- type:
|
| 35 |
-
value: 0.
|
| 36 |
-
name:
|
|
|
|
|
|
|
|
|
|
| 37 |
---
|
| 38 |
|
| 39 |
# opencode-r2
|
|
@@ -64,15 +67,28 @@ dataset (BigLam / Library of Congress). It detects the 7 page-layout content cla
|
|
| 64 |
|
| 65 |
### Validation results
|
| 66 |
|
|
|
|
|
|
|
| 67 |
| Metric | Value |
|
| 68 |
|---|---|
|
| 69 |
-
| COCO mAP @ IoU [0.5:0.95] |
|
| 70 |
-
| COCO AP @ IoU 0.5 |
|
| 71 |
-
| COCO AP @ IoU 0.75 |
|
| 72 |
-
| AR@maxDets=100 |
|
| 73 |
-
|
|
|
|
| 74 |
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
## Usage
|
| 78 |
|
|
|
|
| 26 |
split: validation
|
| 27 |
metrics:
|
| 28 |
- type: mean_average_precision
|
| 29 |
+
value: 0.2842
|
| 30 |
name: COCO mAP @ [0.5:0.95]
|
| 31 |
- type: coco_ap_50
|
| 32 |
+
value: 0.4189
|
| 33 |
name: COCO AP@IoU0.5
|
| 34 |
+
- type: coco_ap_75
|
| 35 |
+
value: 0.3196
|
| 36 |
+
name: COCO AP@IoU0.75
|
| 37 |
+
- type: cascade_average_recall
|
| 38 |
+
value: 0.4302
|
| 39 |
+
name: AR@maxDets=100
|
| 40 |
---
|
| 41 |
|
| 42 |
# opencode-r2
|
|
|
|
| 67 |
|
| 68 |
### Validation results
|
| 69 |
|
| 70 |
+
Evaluated on the 712-example `biglam/loc_beyond_words` validation split (COCO metrics via pycocotools).
|
| 71 |
+
|
| 72 |
| Metric | Value |
|
| 73 |
|---|---|
|
| 74 |
+
| COCO mAP @ IoU [0.5:0.95] | **0.2842** |
|
| 75 |
+
| COCO AP @ IoU 0.5 | **0.4189** |
|
| 76 |
+
| COCO AP @ IoU 0.75 | **0.3196** |
|
| 77 |
+
| AR@maxDets=100 | **0.4302** |
|
| 78 |
+
|
| 79 |
+
Per-class COCO mAP @ [0.5:0.95]:
|
| 80 |
|
| 81 |
+
| Class | mAP |
|
| 82 |
+
|---|---|
|
| 83 |
+
| Photograph | 0.4027 |
|
| 84 |
+
| Illustration | 0.0485 |
|
| 85 |
+
| Map | 0.0431 |
|
| 86 |
+
| Comics/Cartoon | 0.2761 |
|
| 87 |
+
| Editorial Cartoon | 0.1702 |
|
| 88 |
+
| Headline | 0.5226 |
|
| 89 |
+
| Advertisement | 0.5259 |
|
| 90 |
+
|
| 91 |
+
Training loss: 21.06 (epoch 0) → 7.44 (epoch 4).
|
| 92 |
|
| 93 |
## Usage
|
| 94 |
|