{
  "id": "d-fine-l-coco",
  "identity": {
    "family": "d-fine",
    "display_name": "D-FINE L (COCO)",
    "hub_id": "ustc-community/dfine-large-coco",
    "api_name": null,
    "revision": null,
    "variants": [
      "ustc-community/dfine-small-coco (10M)",
      "ustc-community/dfine-xlarge-obj2coco (63M, Objects365 pretrain)"
    ],
    "license": "Apache-2.0",
    "commercial_use": true,
    "commercial_use_note": "Apache-2.0 weights and code; no use restrictions.",
    "release_date": "2024-10",
    "paper_url": "https://arxiv.org/abs/2410.13842",
    "repo_url": "https://github.com/Peterande/D-FINE"
  },
  "task": {
    "category": "detection",
    "modalities_in": [
      "image"
    ],
    "modalities_out": [
      "boxes",
      "labels",
      "scores"
    ],
    "best_at": "Real-time DETR with fine-grained box refinement; among the highest COCO AP per latency of the permissive detectors.",
    "worst_at": "Closed COCO label set."
  },
  "io": {
    "input": {
      "image": {
        "resolution": "640x640",
        "color": "RGB"
      },
      "prompts": "none (fixed classes)"
    },
    "output": {
      "boxes": "xyxy pixels (post_process_object_detection)",
      "labels": "COCO 80 classes",
      "scores": "0..1"
    }
  },
  "mixpeek_wiring": {
    "extractors": [],
    "feature_uris": [],
    "vector_indexes": [],
    "retriever_stages": [],
    "composes_with": [
      "detector boxes -> crops -> SigLIP vectors per object (one document per object, or a multi-vector per frame)",
      "labels -> payload field -> attribute filter in a retriever",
      "scene splits -> keyframes -> detector -> object documents with frame timestamps"
    ]
  },
  "run": {
    "status": "plugin",
    "status_reason": "Not served. Permissive alternative to Ultralytics YOLO. Would run as a custom extractor plugin loading safetensors with transformers (trust_remote_code false), emitting boxes, labels and crops.",
    "serve_apps": [],
    "runtime": "transformers DFineForObjectDetection + RTDetrImageProcessor",
    "weights_format": "safetensors",
    "trust_remote_code": false,
    "size_on_disk_mb": 126,
    "params_millions": 31,
    "preprocessing": "Resize to 640x640, rescale to 0..1 (image processor).",
    "postprocessing": "Sigmoid class scores, top-k queries, threshold; no NMS (one-to-one matching).",
    "serving_shape": "both",
    "batch_size": null,
    "serve_batch": null,
    "scale_to_zero": {
      "min_replicas": 0,
      "max_replicas": 1,
      "idle_timeout_s": 600,
      "memory_gb": 2,
      "num_cpus": 2,
      "num_gpus": 0,
      "cold_start_s": {
        "warm_node_s": null,
        "new_node_s": null,
        "source": null
      },
      "cpu_fallback": true
    }
  },
  "cost": {
    "unmeasured": true,
    "measured": null,
    "note": "No committed measurement; plan row 3 measures it in the standalone image."
  },
  "evidence": {
    "unmeasured": true,
    "items": []
  },
  "refs": [
    "hf://ustc-community/dfine-large-coco@aa8f8211545e4cff5adf52ea512f9ac74a9824ec"
  ],
  "formats": [
    {
      "ref": "hf://ustc-community/dfine-large-coco@aa8f8211545e4cff5adf52ea512f9ac74a9824ec",
      "format": "safetensors",
      "file": "model.safetensors",
      "loader": "transformers / open_clip from_pretrained; Mixpeek Hub import (api/models/huggingface.py)",
      "supported_today": true
    }
  ],
  "use_cases": [
    "object-detection"
  ],
  "recommended": {
    "value": true,
    "for": [
      "object-detection"
    ],
    "reason": "Apache-2.0 detector with safetensors and transformers support: the permissive choice over AGPL YOLO. Not yet evaluated by Mixpeek."
  },
  "demos": [],
  "seo": {
    "title": "D-FINE L (COCO): object detection model",
    "description": "D-FINE L (COCO) is a image object detection model (Apache-2.0). Can run on Mixpeek as a custom plugin.",
    "keywords": [
      "D-FINE L (COCO)",
      "d-fine",
      "object detection",
      "ustc-community/dfine-large-coco",
      "object-detection"
    ],
    "faqs": [
      {
        "q": "What is D-FINE L (COCO) best at?",
        "a": "Real-time DETR with fine-grained box refinement; among the highest COCO AP per latency of the permissive detectors."
      },
      {
        "q": "What are the limits of D-FINE L (COCO)?",
        "a": "Closed COCO label set."
      },
      {
        "q": "Can D-FINE L (COCO) be used commercially?",
        "a": "Yes. Apache-2.0 weights and code; no use restrictions."
      },
      {
        "q": "How does D-FINE L (COCO) run on Mixpeek?",
        "a": "Not served. Permissive alternative to Ultralytics YOLO. Would run as a custom extractor plugin loading safetensors with transformers (trust_remote_code false), emitting boxes, labels and crops."
      }
    ]
  },
  "last_verified": "2026-11-05",
  "sources": [
    "https://huggingface.co/ustc-community/dfine-large-coco",
    "https://arxiv.org/abs/2410.13842",
    "https://github.com/Peterande/D-FINE"
  ],
  "registry": null,
  "templates": [],
  "usage": {
    "namespaces": null,
    "collections": null,
    "uncounted": true,
    "templates": 0,
    "counted_at": null,
    "source": null
  },
  "facets": {
    "status": "plugin",
    "category": "detection",
    "family": "d-fine",
    "license": "Apache-2.0",
    "commercial_use": true,
    "modalities_in": [
      "image"
    ],
    "modalities_out": [
      "boxes",
      "labels",
      "scores"
    ],
    "use_cases": [
      "object-detection"
    ],
    "recommended": true,
    "release_date": "2024-10",
    "params_millions": 31,
    "size_on_disk_mb": 126,
    "vector_dims": null,
    "vector_distance": null,
    "weights_format": "safetensors",
    "formats": [
      "safetensors"
    ],
    "loadable_today": true,
    "trust_remote_code": false,
    "cpu_fallback": true,
    "num_gpus": 0,
    "memory_gb": 2,
    "min_replicas": 0,
    "serving_shape": "both",
    "served": false,
    "ref_schemes": [
      "hf"
    ],
    "has_evidence": false,
    "cost_measured": false,
    "template_count": 0,
    "usage_namespaces": null,
    "usage_collections": null,
    "usage_uncounted": true,
    "has_demo": false,
    "rank_score": 2
  },
  "rank_score": 2
}
