DenisaBumba commited on
Commit
eddbcdc
·
verified ·
1 Parent(s): e153070

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -59,8 +59,8 @@ Results on the validation set.
59
 
60
  | Checkpoint | Epoch | segm mAP@50:95 |
61
  |---|---|---|
62
- | `checkpoint_best_regular.pth` | 40/60 | 0.4670 |
63
- | `checkpoint_best_ema.pth` | 40/60 | **0.4700** |
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="checkpoint_best_regular.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]
 
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]