frank-chieng
commited on
Commit
•
ddf61c1
1
Parent(s):
e0582a8
Upload 2 files
Browse files- README.md +10 -0
- dataset_infos.json +1 -0
README.md
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This a subset of "ceyda/smithsonian_butterflies" dataset with additional processing done to train the "ceyda/butterfly_gan" model.
|
2 |
+
|
3 |
+
The preprocessing includes:
|
4 |
+
- Adding "sim_score" to images with CLIP model using "pretty butterfly","one butterfly","butterfly with open wings","colorful butterfly"
|
5 |
+
- Removing butterflies with the same name(species)
|
6 |
+
- Limiting only to the top 1000 images
|
7 |
+
- Removing the background (doing another sim_scoring after bg removal did visually worse so didn't do it)
|
8 |
+
- Detecting contours
|
9 |
+
- Cropping to the bounding box of the contour with the largest area
|
10 |
+
- Converting back to RGB
|
dataset_infos.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"huggan--smithsonian_butterflies_subset": {"description": "", "citation": "", "homepage": "", "license": "", "features": {"image_url": {"dtype": "string", "id": null, "_type": "Value"}, "image_alt": {"dtype": "string", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}, "name": {"dtype": "string", "id": null, "_type": "Value"}, "scientific_name": {"dtype": "string", "id": null, "_type": "Value"}, "gender": {"dtype": "string", "id": null, "_type": "Value"}, "taxonomy": {"dtype": "string", "id": null, "_type": "Value"}, "region": {"dtype": "string", "id": null, "_type": "Value"}, "locality": {"dtype": "string", "id": null, "_type": "Value"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "usnm_no": {"dtype": "string", "id": null, "_type": "Value"}, "guid": {"dtype": "string", "id": null, "_type": "Value"}, "edan_url": {"dtype": "string", "id": null, "_type": "Value"}, "source": {"dtype": "string", "id": null, "_type": "Value"}, "stage": {"dtype": "float64", "id": null, "_type": "Value"}, "image": {"decode": true, "id": null, "_type": "Image"}, "image_hash": {"dtype": "string", "id": null, "_type": "Value"}, "sim_score": {"dtype": "float64", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": null, "config_name": null, "version": null, "splits": {"train": {"name": "train", "num_bytes": 237753960.0, "num_examples": 1000, "dataset_name": "smithsonian_butterflies_subset"}}, "download_checksums": null, "download_size": 237451415, "post_processing_size": null, "dataset_size": 237753960.0, "size_in_bytes": 475205375.0}}
|