Initial commit
Browse files- README.md +18 -0
- dataset_dict.json +1 -0
- dataset_info.json +1 -0
- images/image1.jpg +3 -0
- images/image2.jpg +3 -0
- images/image3.jpg +3 -0
- metadata.csv +4 -0
- metadata.parquet +3 -0
- parquet_dataset.parquet +3 -0
- train/data-00000-of-00001.arrow +3 -0
- train/dataset_info.json +24 -0
- train/state.json +13 -0
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# Sample Image Dataset
|
| 3 |
+
|
| 4 |
+
test change!!! This is a sample dataset containing a few images and their labels.
|
| 5 |
+
|
| 6 |
+
## Structure
|
| 7 |
+
|
| 8 |
+
- `images/`: Contains the image files.
|
| 9 |
+
- `metadata.csv`: Contains the metadata with image filenames and labels.
|
| 10 |
+
|
| 11 |
+
## Usage
|
| 12 |
+
|
| 13 |
+
You can load this dataset using the `datasets` library.
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
from datasets import load_dataset
|
| 17 |
+
|
| 18 |
+
dataset = load_dataset("username/sample_dataset")
|
dataset_dict.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"splits": ["train"]}
|
dataset_info.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"description": "Sample Image Dataset", "citation": "", "homepage": "", "license": "", "features": {"file_path": {"_type": "Image"}, "label": {"_type": "ClassLabel", "names": ["cat", "dog", "bird"]}, "option": {"dtype": "string", "_type": "Value"}}, "splits": {"train": {"name": "train", "num_bytes": 2242, "num_examples": 3}}, "download_size": 0, "dataset_size": 2242, "task_templates": [{"task": "image-classification", "output_mode": "classification", "input_schema": {"id": "image", "type": "Image"}, "label_schema": {"id": "label", "type": "ClassLabel", "num_classes": 3, "names": ["cat", "dog", "bird"]}}]}
|
images/image1.jpg
ADDED
|
Git LFS Details
|
images/image2.jpg
ADDED
|
Git LFS Details
|
images/image3.jpg
ADDED
|
Git LFS Details
|
metadata.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
file_path,label,option
|
| 2 |
+
data/images/image1.jpg,cat,option1
|
| 3 |
+
data/images/image2.jpg,dog,option2
|
| 4 |
+
data/images/image3.jpg,bird,option3
|
metadata.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e5f8d0d6cb1dba5a69916c815d79d1eeecd4b3cd5c2558c00183f1ce074a583
|
| 3 |
+
size 2468
|
parquet_dataset.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db22e5325d9feac9f54d70b93961d8363be2b76f6896f19727a746af5bdc80f9
|
| 3 |
+
size 2242
|
train/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba353654e3a775b9b6df719502c926f0399dcfe1fa5aeeb5ac0d4ff0dd2fcfd2
|
| 3 |
+
size 575936
|
train/dataset_info.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"file_path": {
|
| 6 |
+
"id": "file_path",
|
| 7 |
+
"_type": "Image"
|
| 8 |
+
},
|
| 9 |
+
"label": {
|
| 10 |
+
"names": [
|
| 11 |
+
"cat",
|
| 12 |
+
"dog",
|
| 13 |
+
"bird"
|
| 14 |
+
],
|
| 15 |
+
"_type": "ClassLabel"
|
| 16 |
+
},
|
| 17 |
+
"option": {
|
| 18 |
+
"dtype": "string",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"homepage": "",
|
| 23 |
+
"license": ""
|
| 24 |
+
}
|
train/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "5522ec84c740743e",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|