apple / coreml-detr-semantic-segmentation

huggingface.co
Total runs: 151
24-hour runs: -2
7-day runs: 8
30-day runs: 57
Model's Last Updated: August 09 2024
image-segmentation

Introduction of coreml-detr-semantic-segmentation

Model Details of coreml-detr-semantic-segmentation

DETR-Resnet50 (semantic segmentation) Core ML Models

See the Files tab for converted models.

DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images). It was introduced in the paper End-to-End Object Detection with Transformers by Carion et al. and first released in this repository .

Model description

The DETR model is an encoder-decoder transformer with a convolutional backbone. Two heads are added on top of the decoder outputs in order to perform object detection: a linear layer for the class labels and a MLP (multi-layer perceptron) for the bounding boxes. The model uses so-called object queries to detect objects in an image. Each object query looks for a particular object in the image. For COCO, the number of object queries is set to 100.

The model is trained using a "bipartite matching loss": one compares the predicted classes + bounding boxes of each of the N = 100 object queries to the ground truth annotations, padded up to the same length N (so if an image only contains 4 objects, 96 annotations will just have a "no object" as class and "no bounding box" as bounding box). The Hungarian matching algorithm is used to create an optimal one-to-one mapping between each of the N queries and each of the N annotations. Next, standard cross-entropy (for the classes) and a linear combination of the L1 and generalized IoU loss (for the bounding boxes) are used to optimize the parameters of the model.

model image

Evaluation - Variants
Variant Parameters Size (MB) Weight Precision Act. Precision IoU Pixel accuracy
facebook/detr-resnet-50-panoptic (PyTorch) 43M 172 Float32 Float32 0.393 0.746
DETRResnet50SemanticSegmentationF32 43M 171 Float32 Float32 0.393 0.746
DETRResnet50SemanticSegmentationF16 43M 86 Float16 Float16 0.395 0.746

IoU and Pixel accuracy measured on 512 images from the COCO dataset. The ground truth labels were extracted from the panoptic segmentation annotations, transformed to semantic segmentation masks. Input images were resized so that the smaller edge equals 448, then center-cropped.

Inference time

The following results refer to DETRResnet50SemanticSegmentationF16. The compute units for MacBook Pro (M1 Max) were manually selected to "CPU and Neural Engine".

Device OS Inference time (ms) Dominant compute unit
iPhone 15 Pro Max 17.5 40 Neural Engine
MacBook Pro (M1 Max) 14.5 43 Neural Engine
iPhone 12 Pro Max 18.0 52 Neural Engine
MacBook Pro (M3 Max) 15.0 29 Neural Engine
Download

Install huggingface-cli

brew install huggingface-cli

To download one of the .mlpackage folders to the models directory:

huggingface-cli download \
  --local-dir models --local-dir-use-symlinks False \
  apple/coreml-detr-semantic-segmentation \
  --include "DETRResnet50SemanticSegmentationF16.mlpackage/*"

To download everything, skip the --include argument. This will retrieve float32 and float16 variants, as well as quantized versions of the float16 variant.

Integrate in Swift apps

The huggingface/coreml-examples repository contains sample Swift code for coreml-detr-semantic-segmentation and other models. See the instructions there to build the demo app, which shows how to use the model in your own Swift apps.

Runs of apple coreml-detr-semantic-segmentation on huggingface.co

151
Total runs
-2
24-hour runs
2
3-day runs
8
7-day runs
57
30-day runs

More Information About coreml-detr-semantic-segmentation huggingface.co Model

More coreml-detr-semantic-segmentation license Visit here:

https://choosealicense.com/licenses/apache-2.0

coreml-detr-semantic-segmentation huggingface.co

coreml-detr-semantic-segmentation huggingface.co is an AI model on huggingface.co that provides coreml-detr-semantic-segmentation's model effect (), which can be used instantly with this apple coreml-detr-semantic-segmentation model. huggingface.co supports a free trial of the coreml-detr-semantic-segmentation model, and also provides paid use of the coreml-detr-semantic-segmentation. Support call coreml-detr-semantic-segmentation model through api, including Node.js, Python, http.

coreml-detr-semantic-segmentation huggingface.co Url

https://huggingface.co/apple/coreml-detr-semantic-segmentation

apple coreml-detr-semantic-segmentation online free

coreml-detr-semantic-segmentation huggingface.co is an online trial and call api platform, which integrates coreml-detr-semantic-segmentation's modeling effects, including api services, and provides a free online trial of coreml-detr-semantic-segmentation, you can try coreml-detr-semantic-segmentation online for free by clicking the link below.

apple coreml-detr-semantic-segmentation online free url in huggingface.co:

https://huggingface.co/apple/coreml-detr-semantic-segmentation

coreml-detr-semantic-segmentation install

coreml-detr-semantic-segmentation is an open source model from GitHub that offers a free installation service, and any user can find coreml-detr-semantic-segmentation on GitHub to install. At the same time, huggingface.co provides the effect of coreml-detr-semantic-segmentation install, users can directly use coreml-detr-semantic-segmentation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

coreml-detr-semantic-segmentation install url in huggingface.co:

https://huggingface.co/apple/coreml-detr-semantic-segmentation

Url of coreml-detr-semantic-segmentation

coreml-detr-semantic-segmentation huggingface.co Url

Provider of coreml-detr-semantic-segmentation huggingface.co

apple
ORGANIZATIONS

Other API from apple

huggingface.co

Total runs: 29.0K
Run Growth: 8.6K
Growth Rate: 30.19%
Updated:März 01 2025
huggingface.co

Total runs: 20.3K
Run Growth: 15.4K
Growth Rate: 76.01%
Updated:September 03 2025
huggingface.co

Total runs: 7.6K
Run Growth: 3.9K
Growth Rate: 43.66%
Updated:März 01 2025
huggingface.co

Total runs: 7.6K
Run Growth: -939.2K
Growth Rate: -12115.39%
Updated:Februar 25 2025
huggingface.co

Total runs: 6.9K
Run Growth: 6.6K
Growth Rate: 96.75%
Updated:Juli 26 2024
huggingface.co

Total runs: 3.3K
Run Growth: -3.3K
Growth Rate: -98.60%
Updated:Dezember 19 2025
huggingface.co

Total runs: 3.1K
Run Growth: -2.8K
Growth Rate: -89.42%
Updated:März 01 2025
huggingface.co

Total runs: 2.0K
Run Growth: -755
Growth Rate: -38.50%
Updated:September 03 2025
huggingface.co

Total runs: 1.8K
Run Growth: 266
Growth Rate: 14.60%
Updated:September 03 2025
huggingface.co

Total runs: 1.6K
Run Growth: 780
Growth Rate: 50.00%
Updated:März 01 2025
huggingface.co

Total runs: 304
Run Growth: 80
Growth Rate: 26.32%
Updated:März 01 2025
huggingface.co

Total runs: 276
Run Growth: 210
Growth Rate: 76.92%
Updated:April 25 2026
huggingface.co

Total runs: 269
Run Growth: -3
Growth Rate: -1.13%
Updated:März 01 2025
huggingface.co

Total runs: 187
Run Growth: 60
Growth Rate: 32.43%
Updated:Oktober 10 2025
huggingface.co

Total runs: 150
Run Growth: -746
Growth Rate: -475.16%
Updated:Juni 14 2024
huggingface.co

Total runs: 146
Run Growth: 22
Growth Rate: 15.28%
Updated:September 03 2025
huggingface.co

Total runs: 96
Run Growth: -23
Growth Rate: -23.23%
Updated:Oktober 10 2025
huggingface.co

Total runs: 83
Run Growth: -55
Growth Rate: -66.27%
Updated:September 03 2025
huggingface.co

Total runs: 77
Run Growth: -54
Growth Rate: -70.13%
Updated:März 01 2025
huggingface.co

Total runs: 70
Run Growth: 65
Growth Rate: 92.86%
Updated:April 15 2026
huggingface.co

Total runs: 58
Run Growth: 24
Growth Rate: 41.38%
Updated:März 01 2025
huggingface.co

Total runs: 54
Run Growth: -1.6K
Growth Rate: -3642.22%
Updated:März 01 2025
huggingface.co

Total runs: 54
Run Growth: -28
Growth Rate: -50.91%
Updated:August 02 2024
huggingface.co

Total runs: 52
Run Growth: 47
Growth Rate: 90.38%
Updated:März 01 2025
huggingface.co

Total runs: 45
Run Growth: -6
Growth Rate: -13.33%
Updated:April 15 2026
huggingface.co

Total runs: 37
Run Growth: 7
Growth Rate: 18.92%
Updated:Oktober 10 2025
huggingface.co

Total runs: 30
Run Growth: 24
Growth Rate: 80.00%
Updated:März 01 2025
huggingface.co

Total runs: 28
Run Growth: 22
Growth Rate: 78.57%
Updated:März 01 2025