[📖 Paper] [🤗 Hugging Face Model]

In this paper, we present a novel collaborative hybrid assignments training scheme, namely Co-DETR, to learn more efficient and effective DETR-based detectors from versatile label assignment manners. 1. Encoder optimization: The proposed training scheme can easily enhance the encoder's learning ability in end-to-end detectors by training multiple parallel auxiliary heads supervised by one-to-many label assignments. 2. Decoder optimization: We conduct extra customized positive queries by extracting the positive coordinates from these auxiliary heads to improve attention learning of the decoder. 3. State-of-the-art performance: Co-DETR with ViT-L (304M parameters) is the first model to achieve 66.0 AP on COCO test-dev.

| Model | Backbone | Aug | Dataset | box AP (val) | mask AP (val) | box AP (test) | mask AP (test) | Config | Download |
|---|---|---|---|---|---|---|---|---|---|
| Co-DINO | Swin-L | DETR | COCO | 64.1 | - | - | - | config | model |
| Co-DINO | Swin-L | LSJ | LVIS | 64.5 | - | - | - | config (test) | model |
| Co-DINO | ViT-L | DETR | Objects365 | - | - | - | - | config | model |
| Co-DINO | ViT-L | DETR | COCO | 65.9 | - | 66.0 | - | config | model |
| Co-DINO-Inst | ViT-L | DETR | COCO | 65.8 | 56.6 | 66.0 | 57.1 | config | model |
| Co-DINO | ViT-L | LSJ | LVIS | 68.0 | - | - | - | config (test) | model |
| Co-DINO-Inst | ViT-L | LSJ | LVIS | 67.3 | 60.7 | - | - | config (test) | model |
| Model | Backbone | Epochs | Aug | Dataset | box AP | Config | Download |
|---|---|---|---|---|---|---|---|
| Co-DINO | R50 | 12 | DETR | COCO | 52.1 | config | model |
| Co-DINO | R50 | 12 | LSJ | COCO | 52.1 | config | model |
| Co-DINO-9enc | R50 | 12 | LSJ | COCO | 52.6 | config | model |
| Co-DINO | R50 | 36 | LSJ | COCO | 54.8 | config | model |
| Co-DINO-9enc | R50 | 36 | LSJ | COCO | 55.4 | config | model |
| Model | Backbone | Epochs | Aug | Dataset | box AP | Config | Download |
|---|---|---|---|---|---|---|---|
| Co-DINO | Swin-L | 12 | DETR | COCO | 58.9 | config | model |
| Co-DINO | Swin-L | 24 | DETR | COCO | 59.8 | config | model |
| Co-DINO | Swin-L | 36 | DETR | COCO | 60.0 | config | model |
| Co-DINO | Swin-L | 12 | LSJ | COCO | 59.3 | config | model |
| Co-DINO | Swin-L | 24 | LSJ | COCO | 60.4 | config | model |
| Co-DINO | Swin-L | 36 | LSJ | COCO | 60.7 | config | model |
| Co-DINO | Swin-L | 36 | LSJ | LVIS | 56.9 | config (test) | model |
| Model | Backbone | Epochs | Queries | box AP | Config | Download |
|---|---|---|---|---|---|---|
| Co-Deformable-DETR | R50 | 12 | 300 | 49.5 | config | model | log |
| Co-Deformable-DETR | Swin-T | 12 | 300 | 51.7 | config | model | log |
| Co-Deformable-DETR | Swin-T | 36 | 300 | 54.1 | config | model | log |
| Co-Deformable-DETR | Swin-S | 12 | 300 | 53.4 | config | model | log |
| Co-Deformable-DETR | Swin-S | 36 | 300 | 55.3 | config | model | log |
| Co-Deformable-DETR | Swin-B | 12 | 300 | 55.5 | config | model | log |
| Co-Deformable-DETR | Swin-B | 36 | 300 | 57.5 | config | model | log |
| Co-Deformable-DETR | Swin-L | 12 | 300 | 56.9 | config | model | log |
| Co-Deformable-DETR | Swin-L | 36 | 900 | 58.5 | config | model | [log](https://drive.googl |
$ claude mcp add Co-DETR \
-- python -m otcore.mcp_server <graph>