File size: 1,545 Bytes
a618ce3
 
 
ffb3067
a618ce3
 
 
 
 
0261f81
a618ce3
 
 
 
5b4cbe4
 
d1e04bb
 
216ba61
5b4cbe4
d1e04bb
a618ce3
 
 
0261f81
 
 
a618ce3
 
 
5b4cbe4
 
d1e04bb
 
216ba61
5b4cbe4
 
a618ce3
 
 
0261f81
a618ce3
 
 
 
 
 
 
 
 
 
 
 
216ba61
a618ce3
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
  "label": "Florence2 Image Annotator Block",
  "default_repo": "",
  "default_dtype": "bfloat16",
  "node_params": {
    "custom": {
      "params": {
        "image": {
          "label": "Image",
          "type": "image",
          "display": "input"
        },
        "annotation_task": {
          "label": "Annotation Task",
          "type": "string",
          "options": [
            "<CAPTION_TO_PHRASE_GROUNDING>",
            "<REFERRING_EXPRESSION_SEGMENTATION>",
            "<OPEN_VOCABULARY_DETECTION>"
          ],
          "value": "<CAPTION_TO_PHRASE_GROUNDING>"
        },
        "annotation_prompt": {
          "label": "Annotation Prompt",
          "type": "string",
          "display": "textarea",
          "default": ""
        },
        "annotation_output_type": {
          "label": "Annotation Output Type",
          "type": "string",
          "options": [
            "bounding_box",
            "mask_overlay",
            "mask_image"
          ],
          "value": "mask_image"
        },
        "images": {
          "label": "Images",
          "type": "image",
          "display": "output"
        },
        "doc": {
          "label": "Doc",
          "type": "string",
          "display": "output"
        }
      },
      "input_names": [
        "image",
        "annotation_task",
        "annotation_prompt",
        "annotation_output_type"
      ],
      "output_names": [
        "images",
        "doc"
      ],
      "block_name": "custom",
      "node_type": "custom"
    }
  }
}