Datasets:
added classes and concepts txts, removed duplicate images, updated README
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +392 -1
- splits/single/classes.txt +52 -0
- splits/single/concepts.txt +17 -0
- splits/three/classes.txt +1 -0
- splits/three/concepts.txt +52 -0
- splits/three/three/1.png +0 -3
- splits/three/three/10.png +0 -3
- splits/three/three/100.png +0 -3
- splits/three/three/1000.png +0 -3
- splits/three/three/1001.png +0 -3
- splits/three/three/1002.png +0 -3
- splits/three/three/1003.png +0 -3
- splits/three/three/1004.png +0 -3
- splits/three/three/1005.png +0 -3
- splits/three/three/1006.png +0 -3
- splits/three/three/1007.png +0 -3
- splits/three/three/1008.png +0 -3
- splits/three/three/1009.png +0 -3
- splits/three/three/101.png +0 -3
- splits/three/three/1010.png +0 -3
- splits/three/three/1011.png +0 -3
- splits/three/three/1012.png +0 -3
- splits/three/three/1013.png +0 -3
- splits/three/three/1014.png +0 -3
- splits/three/three/1015.png +0 -3
- splits/three/three/1016.png +0 -3
- splits/three/three/1017.png +0 -3
- splits/three/three/1018.png +0 -3
- splits/three/three/1019.png +0 -3
- splits/three/three/102.png +0 -3
- splits/three/three/1020.png +0 -3
- splits/three/three/1021.png +0 -3
- splits/three/three/1022.png +0 -3
- splits/three/three/1023.png +0 -3
- splits/three/three/1024.png +0 -3
- splits/three/three/1025.png +0 -3
- splits/three/three/1026.png +0 -3
- splits/three/three/1027.png +0 -3
- splits/three/three/1028.png +0 -3
- splits/three/three/1029.png +0 -3
- splits/three/three/103.png +0 -3
- splits/three/three/1030.png +0 -3
- splits/three/three/1031.png +0 -3
- splits/three/three/1032.png +0 -3
- splits/three/three/1033.png +0 -3
- splits/three/three/1034.png +0 -3
- splits/three/three/1035.png +0 -3
- splits/three/three/1036.png +0 -3
- splits/three/three/1037.png +0 -3
- splits/three/three/1038.png +0 -3
README.md
CHANGED
|
@@ -1,3 +1,394 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- machine-generated
|
| 4 |
+
language: []
|
| 5 |
+
language_creators:
|
| 6 |
+
- machine-generated
|
| 7 |
+
license:
|
| 8 |
+
- mit
|
| 9 |
+
multilinguality: []
|
| 10 |
+
pretty_name: Playing cards
|
| 11 |
+
size_categories:
|
| 12 |
+
- 10K<n<100K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
tags:
|
| 16 |
+
- attribute
|
| 17 |
+
- concepts
|
| 18 |
+
task_categories:
|
| 19 |
+
- image-classification
|
| 20 |
+
- image-segmentation
|
| 21 |
+
task_ids:
|
| 22 |
+
- multi-label-image-classification
|
| 23 |
+
- instance-segmentation
|
| 24 |
---
|
| 25 |
+
|
| 26 |
+
# Dataset Card for Playing cards
|
| 27 |
+
|
| 28 |
+
## Table of Contents
|
| 29 |
+
- [Table of Contents](#table-of-contents)
|
| 30 |
+
- [Dataset Description](#dataset-description)
|
| 31 |
+
- [Dataset Summary](#dataset-summary)
|
| 32 |
+
- [Dataset Structure](#dataset-structure)
|
| 33 |
+
- [Data Instances](#data-instances)
|
| 34 |
+
- [Data Fields](#data-fields)
|
| 35 |
+
- [Data Splits](#data-splits)
|
| 36 |
+
- [Dataset Creation](#dataset-creation)
|
| 37 |
+
- [Curation Rationale](#curation-rationale)
|
| 38 |
+
- [Annotations](#annotations)
|
| 39 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 40 |
+
- [Additional Information](#additional-information)
|
| 41 |
+
- [Licensing Information](#licensing-information)
|
| 42 |
+
- [Citation Information](#citation-information)
|
| 43 |
+
|
| 44 |
+
## Dataset Description
|
| 45 |
+
|
| 46 |
+
### Dataset Summary
|
| 47 |
+
|
| 48 |
+
A dataset containing three sets of playing card images. Each set contains 10,000 images and has a series of attributes. Cards are randomly rotated, flipped and scaled (within limits).
|
| 49 |
+
|
| 50 |
+
Train and test splits are provided in both JSON and Pkl formats. Concept and task classification labels (both starting from 0) and names are provided in txt files.
|
| 51 |
+
|
| 52 |
+
## Dataset Structure
|
| 53 |
+
|
| 54 |
+
### Data Instances
|
| 55 |
+
|
| 56 |
+
Each set of samples have the following:
|
| 57 |
+
* A set number of playing cards in each sample
|
| 58 |
+
* A list of concepts present in the each sample (1 for concepts present and 0 otherwise)
|
| 59 |
+
* The task classification label
|
| 60 |
+
* coordinates for each of the corners of playing cards in each sample.
|
| 61 |
+
|
| 62 |
+
The basic structure of the JSON and pkl files describing each sample is as follows:
|
| 63 |
+
|
| 64 |
+
```
|
| 65 |
+
sample ID, {
|
| 66 |
+
'img_path': string file path,
|
| 67 |
+
'concept_label': list of 0s and 1s,
|
| 68 |
+
'class_label': integer,
|
| 69 |
+
'card_points': list of tuples and card class labels as integers
|
| 70 |
+
}
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Single
|
| 74 |
+
|
| 75 |
+
Single playing card on a random background.
|
| 76 |
+
|
| 77 |
+
* **Number of playing cards**: 1
|
| 78 |
+
* **Concepts**: Suit and rank
|
| 79 |
+
* **Class label**: Card classification
|
| 80 |
+
* **Card points**: Coordinates of the card and card classification
|
| 81 |
+
|
| 82 |
+
### Example
|
| 83 |
+
|
| 84 |
+
```
|
| 85 |
+
1599, {
|
| 86 |
+
'img_path': 'imgs/single/1599.png',
|
| 87 |
+
'concept_label': [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
|
| 88 |
+
'class_label': 11,
|
| 89 |
+
'card_points': [[[(657, 517), (405, 609), (520, 139), (268, 231)], 11]]
|
| 90 |
+
}
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
## Three
|
| 94 |
+
|
| 95 |
+
Three randomly selected playing cards on a random background. Class label is always set to 0 (for now).
|
| 96 |
+
|
| 97 |
+
* **Number of playing cards**: 3
|
| 98 |
+
* **Concepts**: Cards present
|
| 99 |
+
* **Class label**: 0
|
| 100 |
+
* **Card points**: Coordinates of the cards and card classifications
|
| 101 |
+
|
| 102 |
+
### Example
|
| 103 |
+
|
| 104 |
+
```
|
| 105 |
+
1878, {
|
| 106 |
+
'img_path': 'imgs/three/1878.png',
|
| 107 |
+
'concept_label': [1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
| 108 |
+
'class_label': 0,
|
| 109 |
+
'card_points': [[[(22, 342), (148, 308), (72, 531), (198, 497)], 38], [[(333, 461), (207, 495), (283, 272), (157, 306)], 0], [[(292, 270), (418, 236), (343, 459), (468, 425)], 4]]
|
| 110 |
+
}
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
## Three card poker
|
| 114 |
+
|
| 115 |
+
Three playing cards on a random background. Class label is set to hand rank for the game Three card poker.
|
| 116 |
+
|
| 117 |
+
* **Number of playing cards**: 3
|
| 118 |
+
* **Concepts**: Cards present
|
| 119 |
+
* **Class label**: Hand rank
|
| 120 |
+
* **Card points**: Coordinates of the cards and card classifications
|
| 121 |
+
|
| 122 |
+
### Example
|
| 123 |
+
|
| 124 |
+
```
|
| 125 |
+
9259, {
|
| 126 |
+
'img_path': 'imgs/three_card_poker/9259.png',
|
| 127 |
+
'concept_label': [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
| 128 |
+
'class_label': 4,
|
| 129 |
+
'card_points': [[[(42, 478), (84, 347), (237, 541), (279, 411)], 8], [[(325, 271), (282, 401), (129, 208), (87, 338)], 13], [[(370, 132), (328, 262), (175, 68), (133, 198)], 10]]
|
| 130 |
+
}
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
### Data Fields
|
| 134 |
+
|
| 135 |
+
* String file path from the root of the dataset to a given samples image file
|
| 136 |
+
* A list of concepts present in the each sample (1 for concepts present and 0 otherwise). The index of each value in this list corresponds to the label in concepts.txt.
|
| 137 |
+
* The task classification label. This corresponds the the label in classes.txt
|
| 138 |
+
* list of playing cards present in a given sample. Each item in the list has a list of card coordinates and the card classification label (either corresponding to concepts.txt or classes.txt depending on the the images used).
|
| 139 |
+
|
| 140 |
+
### Data Splits
|
| 141 |
+
|
| 142 |
+
#### Single
|
| 143 |
+
|
| 144 |
+
##### Task classifications
|
| 145 |
+
|
| 146 |
+
| Class name | Count train | Count val |
|
| 147 |
+
| --- | --- | --- |
|
| 148 |
+
| 2C | 135 | 58 |
|
| 149 |
+
| 2D | 135 | 58 |
|
| 150 |
+
| 2H | 135 | 58 |
|
| 151 |
+
| 2S | 135 | 58 |
|
| 152 |
+
| 3C | 135 | 58 |
|
| 153 |
+
| 3D | 135 | 58 |
|
| 154 |
+
| 3H | 135 | 58 |
|
| 155 |
+
| 3S | 135 | 58 |
|
| 156 |
+
| 4C | 135 | 58 |
|
| 157 |
+
| 4D | 135 | 58 |
|
| 158 |
+
| 4H | 135 | 58 |
|
| 159 |
+
| 4S | 135 | 58 |
|
| 160 |
+
| 5C | 135 | 58 |
|
| 161 |
+
| 5D | 135 | 58 |
|
| 162 |
+
| 5H | 135 | 58 |
|
| 163 |
+
| 5S | 135 | 58 |
|
| 164 |
+
| 6C | 134 | 58 |
|
| 165 |
+
| 6D | 134 | 58 |
|
| 166 |
+
| 6H | 134 | 58 |
|
| 167 |
+
| 6S | 134 | 58 |
|
| 168 |
+
| 7C | 134 | 58 |
|
| 169 |
+
| 7D | 134 | 58 |
|
| 170 |
+
| 7H | 134 | 58 |
|
| 171 |
+
| 7S | 134 | 58 |
|
| 172 |
+
| 8C | 134 | 58 |
|
| 173 |
+
| 8D | 134 | 58 |
|
| 174 |
+
| 8H | 134 | 58 |
|
| 175 |
+
| 8S | 134 | 58 |
|
| 176 |
+
| 9C | 134 | 58 |
|
| 177 |
+
| 9D | 134 | 58 |
|
| 178 |
+
| 9H | 134 | 58 |
|
| 179 |
+
| 9S | 134 | 58 |
|
| 180 |
+
| 10C | 134 | 58 |
|
| 181 |
+
| 10D | 134 | 58 |
|
| 182 |
+
| 10H | 134 | 58 |
|
| 183 |
+
| 10S | 134 | 58 |
|
| 184 |
+
| JC | 134 | 58 |
|
| 185 |
+
| JD | 134 | 58 |
|
| 186 |
+
| JH | 134 | 58 |
|
| 187 |
+
| JS | 134 | 58 |
|
| 188 |
+
| QC | 134 | 58 |
|
| 189 |
+
| QD | 134 | 58 |
|
| 190 |
+
| QH | 134 | 58 |
|
| 191 |
+
| QS | 134 | 58 |
|
| 192 |
+
| KC | 134 | 58 |
|
| 193 |
+
| KD | 134 | 58 |
|
| 194 |
+
| KH | 134 | 58 |
|
| 195 |
+
| KS | 134 | 58 |
|
| 196 |
+
|
| 197 |
+
##### Concepts
|
| 198 |
+
|
| 199 |
+
| Concept name | Count train | Count val |
|
| 200 |
+
| --- | --- | --- |
|
| 201 |
+
| 2 | 540 | 232 |
|
| 202 |
+
| 3 | 540 | 232 |
|
| 203 |
+
| 4 | 540 | 232 |
|
| 204 |
+
| 5 | 540 | 232 |
|
| 205 |
+
| 6 | 536 | 232 |
|
| 206 |
+
| 7 | 536 | 232 |
|
| 207 |
+
| 8 | 536 | 232 |
|
| 208 |
+
| 9 | 536 | 232 |
|
| 209 |
+
| 10 | 536 | 232 |
|
| 210 |
+
| J | 536 | 232 |
|
| 211 |
+
| Q | 536 | 232 |
|
| 212 |
+
| K | 536 | 232 |
|
| 213 |
+
| A | 536 | 232 |
|
| 214 |
+
| C | 1746 | 754 |
|
| 215 |
+
| D | 1746 | 754 |
|
| 216 |
+
| H | 1746 | 754 |
|
| 217 |
+
| S | 1746 | 754 |
|
| 218 |
+
|
| 219 |
+
#### Three
|
| 220 |
+
|
| 221 |
+
##### Task classification
|
| 222 |
+
|
| 223 |
+
| Class name | Count train | Count val |
|
| 224 |
+
| --- | --- | --- |
|
| 225 |
+
| All | 6999 | 3001 |
|
| 226 |
+
|
| 227 |
+
##### Concepts
|
| 228 |
+
|
| 229 |
+
| Concept name | Count train | Count val |
|
| 230 |
+
| --- | --- | --- |
|
| 231 |
+
| 2C | 398 | 181 |
|
| 232 |
+
| 2D | 441 | 161 |
|
| 233 |
+
| 2H | 385 | 143 |
|
| 234 |
+
| 2S | 397 | 170 |
|
| 235 |
+
| 3C | 439 | 171 |
|
| 236 |
+
| 3D | 383 | 165 |
|
| 237 |
+
| 3H | 398 | 181 |
|
| 238 |
+
| 3S | 435 | 179 |
|
| 239 |
+
| 4C | 407 | 164 |
|
| 240 |
+
| 4D | 402 | 179 |
|
| 241 |
+
| 4H | 409 | 168 |
|
| 242 |
+
| 4S | 403 | 191 |
|
| 243 |
+
| 5C | 402 | 150 |
|
| 244 |
+
| 5D | 373 | 173 |
|
| 245 |
+
| 5H | 383 | 187 |
|
| 246 |
+
| 5S | 426 | 178 |
|
| 247 |
+
| 6C | 394 | 176 |
|
| 248 |
+
| 6D | 414 | 172 |
|
| 249 |
+
| 6H | 398 | 184 |
|
| 250 |
+
| 6S | 413 | 163 |
|
| 251 |
+
| 7C | 409 | 171 |
|
| 252 |
+
| 7D | 412 | 158 |
|
| 253 |
+
| 7H | 391 | 185 |
|
| 254 |
+
| 7S | 453 | 176 |
|
| 255 |
+
| 8C | 390 | 171 |
|
| 256 |
+
| 8D | 398 | 171 |
|
| 257 |
+
| 8H | 406 | 148 |
|
| 258 |
+
| 8S | 368 | 193 |
|
| 259 |
+
| 9C | 381 | 187 |
|
| 260 |
+
| 9D | 429 | 167 |
|
| 261 |
+
| 9H | 391 | 193 |
|
| 262 |
+
| 9S | 370 | 174 |
|
| 263 |
+
| 10C | 450 | 171 |
|
| 264 |
+
| 10D | 420 | 161 |
|
| 265 |
+
| 10H | 436 | 180 |
|
| 266 |
+
| 10S | 406 | 169 |
|
| 267 |
+
| JC | 416 | 160 |
|
| 268 |
+
| JD | 411 | 176 |
|
| 269 |
+
| JH | 409 | 182 |
|
| 270 |
+
| JS | 404 | 178 |
|
| 271 |
+
| QC | 403 | 171 |
|
| 272 |
+
| QD | 376 | 185 |
|
| 273 |
+
| QH | 407 | 182 |
|
| 274 |
+
| QS | 420 | 156 |
|
| 275 |
+
| KC | 414 | 180 |
|
| 276 |
+
| KD | 384 | 176 |
|
| 277 |
+
| KH | 377 | 157 |
|
| 278 |
+
| KS | 382 | 192 |
|
| 279 |
+
| AC | 348 | 168 |
|
| 280 |
+
| AD | 408 | 177 |
|
| 281 |
+
| AH | 427 | 174 |
|
| 282 |
+
| AS | 401 | 178 |
|
| 283 |
+
|
| 284 |
+
#### Three card poker
|
| 285 |
+
|
| 286 |
+
##### Task classification
|
| 287 |
+
|
| 288 |
+
| Class name | Count train | Count val |
|
| 289 |
+
| --- | --- | --- |
|
| 290 |
+
| straight_flush | 1166 | 501 |
|
| 291 |
+
| three_of_a_kind | 1166 | 501 |
|
| 292 |
+
| straight | 1166 | 501 |
|
| 293 |
+
| flush | 1166 | 501 |
|
| 294 |
+
| pair | 1166 | 500 |
|
| 295 |
+
| high_card | 1166 | 500 |
|
| 296 |
+
|
| 297 |
+
##### Concepts
|
| 298 |
+
|
| 299 |
+
| Concept name | Count train | Count val |
|
| 300 |
+
| --- | --- | --- |
|
| 301 |
+
| 2C | 344 | 171 |
|
| 302 |
+
| 2D | 368 | 181 |
|
| 303 |
+
| 2H | 386 | 161 |
|
| 304 |
+
| 2S | 359 | 163 |
|
| 305 |
+
| 3C | 400 | 186 |
|
| 306 |
+
| 3D | 421 | 181 |
|
| 307 |
+
| 3H | 414 | 181 |
|
| 308 |
+
| 3S | 407 | 172 |
|
| 309 |
+
| 4C | 409 | 185 |
|
| 310 |
+
| 4D | 388 | 199 |
|
| 311 |
+
| 4H | 408 | 185 |
|
| 312 |
+
| 4S | 411 | 195 |
|
| 313 |
+
| 5C | 403 | 176 |
|
| 314 |
+
| 5D | 409 | 191 |
|
| 315 |
+
| 5H | 401 | 198 |
|
| 316 |
+
| 5S | 392 | 206 |
|
| 317 |
+
| 6C | 422 | 177 |
|
| 318 |
+
| 6D | 405 | 194 |
|
| 319 |
+
| 6H | 444 | 161 |
|
| 320 |
+
| 6S | 412 | 175 |
|
| 321 |
+
| 7C | 420 | 181 |
|
| 322 |
+
| 7D | 404 | 189 |
|
| 323 |
+
| 7H | 429 | 156 |
|
| 324 |
+
| 7S | 433 | 158 |
|
| 325 |
+
| 8C | 422 | 173 |
|
| 326 |
+
| 8D | 436 | 159 |
|
| 327 |
+
| 8H | 412 | 167 |
|
| 328 |
+
| 8S | 431 | 166 |
|
| 329 |
+
| 9C | 407 | 186 |
|
| 330 |
+
| 9D | 405 | 174 |
|
| 331 |
+
| 9H | 432 | 169 |
|
| 332 |
+
| 9S | 398 | 185 |
|
| 333 |
+
| 10C | 416 | 164 |
|
| 334 |
+
| 10D | 413 | 174 |
|
| 335 |
+
| 10H | 430 | 171 |
|
| 336 |
+
| 10S | 402 | 176 |
|
| 337 |
+
| JC | 431 | 170 |
|
| 338 |
+
| JD | 462 | 158 |
|
| 339 |
+
| JH | 443 | 145 |
|
| 340 |
+
| JS | 405 | 186 |
|
| 341 |
+
| QC | 401 | 186 |
|
| 342 |
+
| QD | 432 | 163 |
|
| 343 |
+
| QH | 419 | 187 |
|
| 344 |
+
| QS | 397 | 172 |
|
| 345 |
+
| KC | 363 | 157 |
|
| 346 |
+
| KD | 358 | 178 |
|
| 347 |
+
| KH | 367 | 157 |
|
| 348 |
+
| KS | 364 | 155 |
|
| 349 |
+
| AC | 380 | 155 |
|
| 350 |
+
| AD | 363 | 151 |
|
| 351 |
+
| AH | 359 | 150 |
|
| 352 |
+
| AS | 351 | 156 |
|
| 353 |
+
|
| 354 |
+
## Dataset Creation
|
| 355 |
+
|
| 356 |
+
### Curation Rationale
|
| 357 |
+
|
| 358 |
+
This dataset was created to test Concept Bottleneck Models [1] with instance and class level concepts.
|
| 359 |
+
|
| 360 |
+
### Source Data
|
| 361 |
+
|
| 362 |
+
#### Initial Data Collection and Normalization
|
| 363 |
+
|
| 364 |
+
The dataset uses background from [2] and playing card images from [3]. The dataset is balanced to the task classification labels with concepts, backgrounds and card transformations being applied randomly. The code used to generate the dataset is available here [4].
|
| 365 |
+
|
| 366 |
+
### Annotations
|
| 367 |
+
|
| 368 |
+
#### Annotation process
|
| 369 |
+
|
| 370 |
+
The annotation process was completed during the generation of the dataset.
|
| 371 |
+
|
| 372 |
+
#### Who are the annotators?
|
| 373 |
+
|
| 374 |
+
Annotations were completed by a machine.
|
| 375 |
+
|
| 376 |
+
### Personal and Sensitive Information
|
| 377 |
+
|
| 378 |
+
This dataset does not contain personal and sensitive Information.
|
| 379 |
+
|
| 380 |
+
## Additional Information
|
| 381 |
+
|
| 382 |
+
### Licensing Information
|
| 383 |
+
|
| 384 |
+
This dataset is licenced with the [MIT licence](https://choosealicense.com/licenses/mit/).
|
| 385 |
+
|
| 386 |
+
### Citation Information
|
| 387 |
+
|
| 388 |
+
[1] Koh, P.W., Nguyen, T., Tang, Y.S., Mussmann, S., Pierson, E., Kim, B. & Liang, P.. (2020). Concept Bottleneck Models. Proceedings of the 37th International Conference on Machine Learning, in Proceedings of Machine Learning Research 119:5338-5348 Available from https://proceedings.mlr.press/v119/koh20a.html.
|
| 389 |
+
|
| 390 |
+
[2] M. Cimpoi, S. Maji, I. Kokkinos, S. Mohamed and A. Vedaldi, "Describing Textures in the Wild," 2014 IEEE Conference on Computer Vision and Pattern Recognition, 2014, pp. 3606-3613, doi: 10.1109/CVPR.2014.461.
|
| 391 |
+
|
| 392 |
+
[3] j4p4n, "Full Deck Of Ornate Playing Cards - English", Available at: https://openclipart.org/download/315253/1550166858.svg
|
| 393 |
+
|
| 394 |
+
[4] J. Furby, "playing-card-concept-generator", Available at: https://github.com/JackFurby/playing-card-concept-generator
|
splits/single/classes.txt
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2C 0
|
| 2 |
+
2D 1
|
| 3 |
+
2H 2
|
| 4 |
+
2S 3
|
| 5 |
+
3C 4
|
| 6 |
+
3D 5
|
| 7 |
+
3H 6
|
| 8 |
+
3S 7
|
| 9 |
+
4C 8
|
| 10 |
+
4D 9
|
| 11 |
+
4H 10
|
| 12 |
+
4S 11
|
| 13 |
+
5C 12
|
| 14 |
+
5D 13
|
| 15 |
+
5H 14
|
| 16 |
+
5S 15
|
| 17 |
+
6C 16
|
| 18 |
+
6D 17
|
| 19 |
+
6H 18
|
| 20 |
+
6S 19
|
| 21 |
+
7C 20
|
| 22 |
+
7D 21
|
| 23 |
+
7H 22
|
| 24 |
+
7S 23
|
| 25 |
+
8C 24
|
| 26 |
+
8D 25
|
| 27 |
+
8H 26
|
| 28 |
+
8S 27
|
| 29 |
+
9C 28
|
| 30 |
+
9D 29
|
| 31 |
+
9H 30
|
| 32 |
+
9S 31
|
| 33 |
+
10C 32
|
| 34 |
+
10D 33
|
| 35 |
+
10H 34
|
| 36 |
+
10S 35
|
| 37 |
+
JC 36
|
| 38 |
+
JD 37
|
| 39 |
+
JH 38
|
| 40 |
+
JS 39
|
| 41 |
+
QC 40
|
| 42 |
+
QD 41
|
| 43 |
+
QH 42
|
| 44 |
+
QS 43
|
| 45 |
+
KC 44
|
| 46 |
+
KD 45
|
| 47 |
+
KH 46
|
| 48 |
+
KS 47
|
| 49 |
+
AC 48
|
| 50 |
+
AD 49
|
| 51 |
+
AH 50
|
| 52 |
+
AS 51
|
splits/single/concepts.txt
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2 0
|
| 2 |
+
3 1
|
| 3 |
+
4 2
|
| 4 |
+
5 3
|
| 5 |
+
6 4
|
| 6 |
+
7 5
|
| 7 |
+
8 6
|
| 8 |
+
9 7
|
| 9 |
+
10 8
|
| 10 |
+
J 9
|
| 11 |
+
Q 10
|
| 12 |
+
K 11
|
| 13 |
+
A 12
|
| 14 |
+
C 13
|
| 15 |
+
D 14
|
| 16 |
+
H 15
|
| 17 |
+
S 16
|
splits/three/classes.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
all 0
|
splits/three/concepts.txt
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2C 0
|
| 2 |
+
2D 1
|
| 3 |
+
2H 2
|
| 4 |
+
2S 3
|
| 5 |
+
3C 4
|
| 6 |
+
3D 5
|
| 7 |
+
3H 6
|
| 8 |
+
3S 7
|
| 9 |
+
4C 8
|
| 10 |
+
4D 9
|
| 11 |
+
4H 10
|
| 12 |
+
4S 11
|
| 13 |
+
5C 12
|
| 14 |
+
5D 13
|
| 15 |
+
5H 14
|
| 16 |
+
5S 15
|
| 17 |
+
6C 16
|
| 18 |
+
6D 17
|
| 19 |
+
6H 18
|
| 20 |
+
6S 19
|
| 21 |
+
7C 20
|
| 22 |
+
7D 21
|
| 23 |
+
7H 22
|
| 24 |
+
7S 23
|
| 25 |
+
8C 24
|
| 26 |
+
8D 25
|
| 27 |
+
8H 26
|
| 28 |
+
8S 27
|
| 29 |
+
9C 28
|
| 30 |
+
9D 29
|
| 31 |
+
9H 30
|
| 32 |
+
9S 31
|
| 33 |
+
10C 32
|
| 34 |
+
10D 33
|
| 35 |
+
10H 34
|
| 36 |
+
10S 35
|
| 37 |
+
JC 36
|
| 38 |
+
JD 37
|
| 39 |
+
JH 38
|
| 40 |
+
JS 39
|
| 41 |
+
QC 40
|
| 42 |
+
QD 41
|
| 43 |
+
QH 42
|
| 44 |
+
QS 43
|
| 45 |
+
KC 44
|
| 46 |
+
KD 45
|
| 47 |
+
KH 46
|
| 48 |
+
KS 47
|
| 49 |
+
AC 48
|
| 50 |
+
AD 49
|
| 51 |
+
AH 50
|
| 52 |
+
AS 51
|
splits/three/three/1.png
DELETED
Git LFS Details
|
splits/three/three/10.png
DELETED
Git LFS Details
|
splits/three/three/100.png
DELETED
Git LFS Details
|
splits/three/three/1000.png
DELETED
Git LFS Details
|
splits/three/three/1001.png
DELETED
Git LFS Details
|
splits/three/three/1002.png
DELETED
Git LFS Details
|
splits/three/three/1003.png
DELETED
Git LFS Details
|
splits/three/three/1004.png
DELETED
Git LFS Details
|
splits/three/three/1005.png
DELETED
Git LFS Details
|
splits/three/three/1006.png
DELETED
Git LFS Details
|
splits/three/three/1007.png
DELETED
Git LFS Details
|
splits/three/three/1008.png
DELETED
Git LFS Details
|
splits/three/three/1009.png
DELETED
Git LFS Details
|
splits/three/three/101.png
DELETED
Git LFS Details
|
splits/three/three/1010.png
DELETED
Git LFS Details
|
splits/three/three/1011.png
DELETED
Git LFS Details
|
splits/three/three/1012.png
DELETED
Git LFS Details
|
splits/three/three/1013.png
DELETED
Git LFS Details
|
splits/three/three/1014.png
DELETED
Git LFS Details
|
splits/three/three/1015.png
DELETED
Git LFS Details
|
splits/three/three/1016.png
DELETED
Git LFS Details
|
splits/three/three/1017.png
DELETED
Git LFS Details
|
splits/three/three/1018.png
DELETED
Git LFS Details
|
splits/three/three/1019.png
DELETED
Git LFS Details
|
splits/three/three/102.png
DELETED
Git LFS Details
|
splits/three/three/1020.png
DELETED
Git LFS Details
|
splits/three/three/1021.png
DELETED
Git LFS Details
|
splits/three/three/1022.png
DELETED
Git LFS Details
|
splits/three/three/1023.png
DELETED
Git LFS Details
|
splits/three/three/1024.png
DELETED
Git LFS Details
|
splits/three/three/1025.png
DELETED
Git LFS Details
|
splits/three/three/1026.png
DELETED
Git LFS Details
|
splits/three/three/1027.png
DELETED
Git LFS Details
|
splits/three/three/1028.png
DELETED
Git LFS Details
|
splits/three/three/1029.png
DELETED
Git LFS Details
|
splits/three/three/103.png
DELETED
Git LFS Details
|
splits/three/three/1030.png
DELETED
Git LFS Details
|
splits/three/three/1031.png
DELETED
Git LFS Details
|
splits/three/three/1032.png
DELETED
Git LFS Details
|
splits/three/three/1033.png
DELETED
Git LFS Details
|
splits/three/three/1034.png
DELETED
Git LFS Details
|
splits/three/three/1035.png
DELETED
Git LFS Details
|
splits/three/three/1036.png
DELETED
Git LFS Details
|
splits/three/three/1037.png
DELETED
Git LFS Details
|
splits/three/three/1038.png
DELETED
Git LFS Details
|