Update README.md
Browse files
README.md
CHANGED
|
@@ -59,8 +59,8 @@ Results on the validation set.
|
|
| 59 |
|
| 60 |
| Checkpoint | Epoch | segm mAP@50:95 |
|
| 61 |
|---|---|---|
|
| 62 |
-
| `
|
| 63 |
-
| `
|
| 64 |
|
| 65 |
Per-class validation results for EMA checkpoint **v2**.
|
| 66 |
|
|
@@ -81,7 +81,7 @@ Per-class validation results for EMA checkpoint **v2**.
|
|
| 81 |
from rfdetr import RFDETRSegNano
|
| 82 |
import cv2
|
| 83 |
from rfdetr.assets.coco_classes import COCO_CLASSES
|
| 84 |
-
model = RFDETRSegNano(pretrain_weights="
|
| 85 |
image = cv2.imread("image.jpg")
|
| 86 |
detections = model.predict(image, threshold=0.4)
|
| 87 |
labels = [f"{COCO_CLASSES[class_id]}" for class_id in detections.class_id]
|
|
|
|
| 59 |
|
| 60 |
| Checkpoint | Epoch | segm mAP@50:95 |
|
| 61 |
|---|---|---|
|
| 62 |
+
| `checkpoint_best_regular_v2.pth` | 40/60 | 0.4670 |
|
| 63 |
+
| `checkpoint_best_ema_v2.pth` | 40/60 | **0.4700** |
|
| 64 |
|
| 65 |
Per-class validation results for EMA checkpoint **v2**.
|
| 66 |
|
|
|
|
| 81 |
from rfdetr import RFDETRSegNano
|
| 82 |
import cv2
|
| 83 |
from rfdetr.assets.coco_classes import COCO_CLASSES
|
| 84 |
+
model = RFDETRSegNano(pretrain_weights="checkpoint_best_regular_v2.pth")
|
| 85 |
image = cv2.imread("image.jpg")
|
| 86 |
detections = model.predict(image, threshold=0.4)
|
| 87 |
labels = [f"{COCO_CLASSES[class_id]}" for class_id in detections.class_id]
|