Midwater
Collection
Models for use in midwater images โข 3 items โข Updated
RF-DETR large object detector trained at MBARI.
RF-DETR large object detector trained at MBARI on i2MAP images. Useful for fast moving transecting AUV imagery as a first stage in a two-stage processing pipeline (detect->classify). Designed for general object detection in i2MAP transecting AUV. Particularly good at small object detection.
Training data includes 34205 boxes in 13841 positive images, and 488 negative images that span 73 unique i2MAP dives between 2016-2023. Depth range 100-1000 meters in Monterey Bay, California, USA.
Training data will not be released as it includes data that is not public.
| Architecture | RF-DETR Large |
| Epochs | 35 |
| Classes | 1 |
| Metric | Value |
|---|---|
| val/F1 | 0.7076 |
| val/ema_mAP_50 | 0.7619 |
| val/ema_mAP_50_95 | 0.4804 |
| val/ema_mAP_75 | 0.5482 |
| val/mAP_50 | 0.7619 |
| val/mAP_50_95 | 0.4804 |
| val/mAP_75 | 0.5482 |
| val/precision | 0.7446 |
| val/recall | 0.7223 |
object
checkpoint_best_ema.pthcheckpoint_best_total.pthhparams.yamlmetrics.csvmetrics_plot.pngrfdetrl.onnxtraining_config.jsonfrom huggingface_hub import hf_hub_download
from rfdetr import RFDETRLarge
w = hf_hub_download("MBARI-org/i2MAP-rfdetrl", "checkpoint_best_total.pth")
model = RFDETRLarge(pretrain_weights=w)
detections = model.predict("image.jpg", threshold=0.5)
ONNX:
import onnxruntime as ort
sess = ort.InferenceSession(hf_hub_download("MBARI-org/i2MAP-rfdetrl", "rfdetrl.onnx"))