davanstrien HF staff commited on
Commit
4c0b0a0
1 Parent(s): f8cda88

add instance examples

Browse files
Files changed (1) hide show
  1. README.md +40 -1
README.md CHANGED
@@ -101,7 +101,46 @@ Text accompanying the illustrations is in English, Scots or Scottish Gaelic.
101
 
102
  ### Data Instances
103
 
104
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
 
106
  ### Data Fields
107
 
 
101
 
102
  ### Data Instances
103
 
104
+ An example instance from the `illustration-detection` split:
105
+
106
+ ```python
107
+ {'image_id': 4,
108
+ 'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=600x1080>,
109
+ 'width': 600,
110
+ 'height': 1080,
111
+ 'objects': [{'category_id': 0,
112
+ 'image_id': '4',
113
+ 'id': 1,
114
+ 'area': 110901,
115
+ 'bbox': [34.529998779296875,
116
+ 556.8300170898438,
117
+ 401.44000244140625,
118
+ 276.260009765625],
119
+ 'segmentation': [[34.529998779296875,
120
+ 556.8300170898438,
121
+ 435.9700012207031,
122
+ 556.8300170898438,
123
+ 435.9700012207031,
124
+ 833.0900268554688,
125
+ 34.529998779296875,
126
+ 833.0900268554688]],
127
+ 'iscrowd': False}]}
128
+ ```
129
+
130
+ An example instance from the `image-classification` split:
131
+
132
+ ```python
133
+ {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=600x1080>,
134
+ 'label': 1}
135
+ ```
136
+
137
+ An example from the `image-matching` split:
138
+
139
+ ```python
140
+ {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=600x1080>,
141
+ 'group-label': 231}
142
+ ```
143
+
144
 
145
  ### Data Fields
146