File size: 2,101 Bytes
2fe4282
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "classification": {
    "label_correct": {
      "type": "noul",
      "template": "Is this object a {class_name}?",
      "template_with_description": "Is this object a {class_name}? ({class_description})",
      "answers": ["yes", "no"],
      "expected_field": "expected.label_correct"
    },
    "label_choice": {
      "type": "choice",
      "template": "Which class is this object?",
      "options_field": "choice_options",
      "expected_field": "choice_answer"
    }
  },
  "detection": {
    "class_correct": {
      "type": "noul",
      "template": "Is the object inside the box a {class_name}?",
      "answers": ["yes", "no"],
      "expected_field": "expected.class_correct"
    },
    "box_quality": {
      "type": "score",
      "template": "How well does the box fit the object? Answer with a score from 1 (not at all) to 5 (perfect).",
      "scale": [1, 5],
      "expected_field": "expected.box_quality"
    },
    "annotation_correct": {
      "type": "noul",
      "template": "Is this annotation fully correct (both the class {class_name} and the box)?",
      "answers": ["yes", "no"],
      "expected_field": "expected.annotation_correct"
    }
  },
  "segmentation": {
    "class_correct": {
      "type": "noul",
      "template": "Is the object inside the highlighted mask a {class_name}?",
      "answers": ["yes", "no"],
      "expected_field": "expected.class_correct"
    },
    "mask_quality": {
      "type": "score",
      "template": "How well does the mask fit the object? Answer with a score from 1 (not at all) to 5 (perfect).",
      "scale": [1, 5],
      "expected_field": "expected.mask_quality"
    },
    "annotation_correct": {
      "type": "noul",
      "template": "Is this annotation fully correct (both the class {class_name} and the mask)?",
      "answers": ["yes", "no"],
      "expected_field": "expected.annotation_correct"
    }
  },
  "score_from_iou": [
    {"min_iou": 0.90, "score": 5},
    {"min_iou": 0.75, "score": 4},
    {"min_iou": 0.60, "score": 3},
    {"min_iou": 0.40, "score": 2},
    {"min_iou": 0.00, "score": 1}
  ]
}