Skip to content

Commit 240cb28

Browse files
committed
First draft
1 parent e815d0b commit 240cb28

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

packages/tasks/src/tasks/image-segmentation/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import { HfInference } from "@huggingface/inference";
4848
const inference = new HfInference(HF_TOKEN);
4949
await inference.imageSegmentation({
5050
data: await (await fetch("https://picsum.photos/300/300")).blob(),
51-
model: "facebook/detr-resnet-50-panoptic",
51+
model: "facebook/mask2former-swin-base-coco-panoptic",
5252
});
5353
```
5454

packages/tasks/src/tasks/image-segmentation/data.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,21 @@ const taskData: TaskDataCustom = {
4444
models: [
4545
{
4646
// TO DO: write description
47-
description: "Solid panoptic segmentation model trained on the COCO 2017 benchmark dataset.",
48-
id: "facebook/detr-resnet-50-panoptic",
47+
description: "Solid semantic segmentation model fine-tuned on ADE20k, an important benchmark comprising 150 classes.",
48+
id: "openmmlab/upernet-convnext-small",
4949
},
5050
{
5151
description: "Background removal model.",
5252
id: "briaai/RMBG-1.4",
5353
},
54-
{
55-
description: "Semantic segmentation model trained on ADE20k benchmark dataset with 512x512 resolution.",
56-
id: "nvidia/segformer-b0-finetuned-ade-512-512",
57-
},
5854
{
5955
description: "A multipurpose image segmentation model for high resolution images.",
6056
id: "ZhengPeng7/BiRefNet",
6157
},
58+
{
59+
description: "Semantic segmentation model fine-tuned on ADE20k at 512x512 resolution.",
60+
id: "nvidia/segformer-b0-finetuned-ade-512-512",
61+
},
6262
{
6363
description: "Panoptic segmentation model trained COCO (common objects) dataset.",
6464
id: "facebook/mask2former-swin-large-coco-panoptic",

packages/tasks/src/tasks/object-detection/data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ const taskData: TaskDataCustom = {
4343
],
4444
models: [
4545
{
46-
description: "Solid object detection model trained on the benchmark dataset COCO 2017.",
46+
description: "Solid object detection model pre-trained on the COCO 2017 dataset.",
4747
id: "facebook/detr-resnet-50",
4848
},
4949
{
50-
description: "Strong object detection model trained on ImageNet-21k dataset.",
51-
id: "microsoft/beit-base-patch16-224-pt22k-ft22k",
50+
description: "YOLOv10 is great model for real-time and accurate object detection.",
51+
id: "jameslahm/yolov10x",
5252
},
5353
{
54-
description: "Fast and accurate object detection model trained on COCO dataset.",
54+
description: "RT-DETR is a fast and accurate object detection model pre-trained on the Object365 dataset.",
5555
id: "PekingU/rtdetr_r18vd_coco_o365",
5656
},
5757
],

0 commit comments

Comments
 (0)