Mario Šaško commited on
Commit
706cbef
1 Parent(s): 2b1183b

Update beans download urls (#3890)

Browse files

* Update beans download urls

* Update checksums

Commit from https://github.com/huggingface/datasets/commit/2833d72fdc08cae8968fa44d2c7350dc187f9d01

Files changed (2) hide show
  1. beans.py +3 -3
  2. dataset_infos.json +1 -1
beans.py CHANGED
@@ -41,9 +41,9 @@ Uganda and collected by the Makerere AI research lab.
41
  """
42
 
43
  _URLS = {
44
- "train": "https://storage.googleapis.com/ibeans/train.zip",
45
- "validation": "https://storage.googleapis.com/ibeans/validation.zip",
46
- "test": "https://storage.googleapis.com/ibeans/test.zip",
47
  }
48
 
49
  _NAMES = ["angular_leaf_spot", "bean_rust", "healthy"]
41
  """
42
 
43
  _URLS = {
44
+ "train": "https://huggingface.co/datasets/beans/resolve/main/data/train.zip",
45
+ "validation": "https://huggingface.co/datasets/beans/resolve/main/data/validation.zip",
46
+ "test": "https://huggingface.co/datasets/beans/resolve/main/data/test.zip",
47
  }
48
 
49
  _NAMES = ["angular_leaf_spot", "bean_rust", "healthy"]
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"default": {"description": "Beans is a dataset of images of beans taken in the field using smartphone\ncameras. It consists of 3 classes: 2 disease classes and the healthy class.\nDiseases depicted include Angular Leaf Spot and Bean Rust. Data was annotated\nby experts from the National Crops Resources Research Institute (NaCRRI) in\nUganda and collected by the Makerere AI research lab.\n", "citation": "@ONLINE {beansdata,\n author=\"Makerere AI Lab\",\n title=\"Bean disease dataset\",\n month=\"January\",\n year=\"2020\",\n url=\"https://github.com/AI-Lab-Makerere/ibean/\"\n}\n", "homepage": "https://github.com/AI-Lab-Makerere/ibean/", "license": "", "features": {"image_file_path": {"dtype": "string", "id": null, "_type": "Value"}, "image": {"id": null, "_type": "Image"}, "labels": {"num_classes": 3, "names": ["angular_leaf_spot", "bean_rust", "healthy"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": {"input": "image", "output": "labels"}, "task_templates": [{"task": "image-classification", "image_column": "image", "label_column": "labels", "labels": ["angular_leaf_spot", "bean_rust", "healthy"]}], "builder_name": "beans", "config_name": "default", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 373830, "num_examples": 1034, "dataset_name": "beans"}, "validation": {"name": "validation", "num_bytes": 48639, "num_examples": 133, "dataset_name": "beans"}, "test": {"name": "test", "num_bytes": 45552, "num_examples": 128, "dataset_name": "beans"}}, "download_checksums": {"https://storage.googleapis.com/ibeans/train.zip": {"num_bytes": 143812152, "checksum": "284fe8456ce20687f4367ae7ad94a64577e7f9fde2c2c6b1c74340ab5dc82715"}, "https://storage.googleapis.com/ibeans/validation.zip": {"num_bytes": 18504213, "checksum": "90b7aa1c26d91d9afff07a30bbc67a5ea34f1f1397f068d8675be09d7d0c602d"}, "https://storage.googleapis.com/ibeans/test.zip": {"num_bytes": 17708541, "checksum": "ca67b15d960d1e2fd9d23fd8498ce86818ead90755c630a43baf19ec4af09312"}}, "download_size": 180024906, "post_processing_size": null, "dataset_size": 468021, "size_in_bytes": 180492927}}
1
+ {"default": {"description": "Beans is a dataset of images of beans taken in the field using smartphone\ncameras. It consists of 3 classes: 2 disease classes and the healthy class.\nDiseases depicted include Angular Leaf Spot and Bean Rust. Data was annotated\nby experts from the National Crops Resources Research Institute (NaCRRI) in\nUganda and collected by the Makerere AI research lab.\n", "citation": "@ONLINE {beansdata,\n author=\"Makerere AI Lab\",\n title=\"Bean disease dataset\",\n month=\"January\",\n year=\"2020\",\n url=\"https://github.com/AI-Lab-Makerere/ibean/\"\n}\n", "homepage": "https://github.com/AI-Lab-Makerere/ibean/", "license": "", "features": {"image_file_path": {"dtype": "string", "id": null, "_type": "Value"}, "image": {"decode": true, "id": null, "_type": "Image"}, "labels": {"num_classes": 3, "names": ["angular_leaf_spot", "bean_rust", "healthy"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": {"input": "image", "output": "labels"}, "task_templates": [{"task": "image-classification", "image_column": "image", "label_column": "labels"}], "builder_name": "beans", "config_name": "default", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 382110, "num_examples": 1034, "dataset_name": "beans"}, "validation": {"name": "validation", "num_bytes": 49711, "num_examples": 133, "dataset_name": "beans"}, "test": {"name": "test", "num_bytes": 46584, "num_examples": 128, "dataset_name": "beans"}}, "download_checksums": {"https://huggingface.co/datasets/beans/resolve/main/data/train.zip": {"num_bytes": 143812152, "checksum": "284fe8456ce20687f4367ae7ad94a64577e7f9fde2c2c6b1c74340ab5dc82715"}, "https://huggingface.co/datasets/beans/resolve/main/data/validation.zip": {"num_bytes": 18504213, "checksum": "90b7aa1c26d91d9afff07a30bbc67a5ea34f1f1397f068d8675be09d7d0c602d"}, "https://huggingface.co/datasets/beans/resolve/main/data/test.zip": {"num_bytes": 17708541, "checksum": "ca67b15d960d1e2fd9d23fd8498ce86818ead90755c630a43baf19ec4af09312"}}, "download_size": 180024906, "post_processing_size": null, "dataset_size": 478405, "size_in_bytes": 180503311}}