LibreRTMDets-seg

RTMDet-Ins-s COCO instance segmenter, repackaged for the LibreYOLO framework.

Source

Derived from https://github.com/open-mmlab/mmdetection at commit cfd5d3a985b0249de009b67d04f37263e11cdf3d and upstream checkpoint: https://download.openmmlab.com/mmdetection/v3.0/rtmdet/rtmdet-ins_s_8xb32-300e_coco/rtmdet-ins_s_8xb32-300e_coco_20221121_212604-fdc5d7ec.pth (SHA-256 fdc5d7ec327cf46dba079d664be98a853e80936098c1778edf5ffb726b084908).

Copyright (c) 2018-2023 OpenMMLab. Licensed under the Apache License, Version 2.0.

Modifications

EMA weights were selected from the upstream checkpoint. data_preprocessor.* and batch-tracking buffers were omitted, bbox_head. keys were renamed to head., and the loaded state dict was saved with LibreYOLO checkpoint metadata schema v1.0 (task=segment). Learned model parameters are otherwise preserved.

Validation

Evaluated with LibreYOLO on full COCO val2017 (5000 images) at imgsz=640, conf=0.001, next to the official mmdetection references:

Metric LibreYOLO Official
COCO val2017 mask mAP50-95 0.3872 38.7
COCO val2017 box mAP50-95 0.4413 44.0
SHA256 29ffa1d3719d335034259c6e1b2accd68c50460f86a44c9d08f497041ee4153f

Usage

from libreyolo import LibreYOLO

model = LibreYOLO("LibreRTMDets-seg.pt")
res = model.predict("image.jpg")
res.masks      # instance masks
res.boxes      # boxes, scores, classes

License

Apache License 2.0. See the LICENSE and NOTICE files in this repository.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support