|
|
--- |
|
|
task_categories: |
|
|
- image-classification |
|
|
|
|
|
--- |
|
|
# AutoTrain Dataset for project: coffee-beans |
|
|
|
|
|
## Dataset Description |
|
|
|
|
|
This dataset has been automatically processed by AutoTrain for project coffee-beans. |
|
|
|
|
|
### Languages |
|
|
|
|
|
The BCP-47 code for the dataset's language is unk. |
|
|
|
|
|
## Dataset Structure |
|
|
|
|
|
### Data Instances |
|
|
|
|
|
A sample from this dataset looks as follows: |
|
|
|
|
|
```json |
|
|
[ |
|
|
{ |
|
|
"image": "<224x224 RGB PIL image>", |
|
|
"feat_width": 224, |
|
|
"feat_height": 224, |
|
|
"target": 1, |
|
|
"feat_xmin": 22, |
|
|
"feat_ymin": 61, |
|
|
"feat_xmax": 140, |
|
|
"feat_ymax": 160 |
|
|
}, |
|
|
{ |
|
|
"image": "<224x224 RGB PIL image>", |
|
|
"feat_width": 224, |
|
|
"feat_height": 224, |
|
|
"target": 1, |
|
|
"feat_xmin": 34, |
|
|
"feat_ymin": 13, |
|
|
"feat_xmax": 205, |
|
|
"feat_ymax": 164 |
|
|
} |
|
|
] |
|
|
``` |
|
|
|
|
|
### Dataset Fields |
|
|
|
|
|
The dataset has the following fields (also called "features"): |
|
|
|
|
|
```json |
|
|
{ |
|
|
"image": "Image(decode=True, id=None)", |
|
|
"feat_width": "Value(dtype='int64', id=None)", |
|
|
"feat_height": "Value(dtype='int64', id=None)", |
|
|
"target": "ClassLabel(names=['defect', 'good'], id=None)", |
|
|
"feat_xmin": "Value(dtype='int64', id=None)", |
|
|
"feat_ymin": "Value(dtype='int64', id=None)", |
|
|
"feat_xmax": "Value(dtype='int64', id=None)", |
|
|
"feat_ymax": "Value(dtype='int64', id=None)" |
|
|
} |
|
|
``` |
|
|
|
|
|
### Dataset Splits |
|
|
|
|
|
This dataset is split into a train and validation split. The split sizes are as follow: |
|
|
|
|
|
| Split name | Num samples | |
|
|
| ------------ | ------------------- | |
|
|
| train | 3348 | |
|
|
| valid | 1237 | |
|
|
|