Dataset Preview
Go to dataset viewer
image_file_path (string)image (image)labels (class label)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.0.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.1.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.10.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.100.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.101.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.102.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.103.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.104.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.105.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.106.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.107.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.108.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.109.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.11.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.110.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.111.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.112.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.113.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.114.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.115.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.116.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.117.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.118.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.119.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.12.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.120.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.121.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.122.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.123.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.124.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.125.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.126.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.127.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.128.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.129.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.13.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.130.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.131.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.132.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.133.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.134.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.135.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.136.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.137.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.138.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.139.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.14.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.140.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.141.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.142.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.143.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.144.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.145.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.146.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.147.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.148.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.149.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.15.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.150.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.151.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.152.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.153.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.154.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.155.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.156.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.157.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.158.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.159.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.16.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.160.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.161.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.162.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.163.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.164.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.165.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.166.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.167.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.168.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.169.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.17.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.170.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.171.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.172.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.173.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.174.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.175.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.176.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.177.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.178.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.179.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.18.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.180.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.181.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.182.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.183.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.184.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.185.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.186.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.187.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
"zip://train/angular_leaf_spot/angular_leaf_spot_train.188.jpg::https://huggingface.co/datasets/beans/resolve/main/data/train.zip"
0 (angular_leaf_spot)
End of preview (truncated to 100 rows)

Dataset Card for Beans

Dataset Summary

Beans leaf dataset with images of diseased and health leaves.

Supported Tasks and Leaderboards

  • image-classification: Based on a leaf image, the goal of this task is to predict the disease type (Angular Leaf Spot and Bean Rust), if any.

Languages

English

Dataset Structure

Data Instances

A sample from the training set is provided below:

{
    'image_file_path': '/root/.cache/huggingface/datasets/downloads/extracted/0aaa78294d4bf5114f58547e48d91b7826649919505379a167decb629aa92b0a/train/bean_rust/bean_rust_train.109.jpg',
    'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x500 at 0x16BAA72A4A8>,
    'labels': 1
}

Data Fields

The data instances have the following fields:

  • image_file_path: a string filepath to an image.
  • image: A PIL.Image.Image object containing the image. Note that when accessing the image column: dataset[0]["image"] the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["image"] should always be preferred over dataset["image"][0].
  • labels: an int classification label.

Class Label Mappings:

{
  "angular_leaf_spot": 0,
  "bean_rust": 1,
  "healthy": 2,
}

Data Splits

train validation test
# of examples 1034 133 128

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

[More Information Needed]

Licensing Information

[More Information Needed]

Citation Information

@ONLINE {beansdata,
    author="Makerere AI Lab",
    title="Bean disease dataset",
    month="January",
    year="2020",
    url="https://github.com/AI-Lab-Makerere/ibean/"
}

Contributions

Thanks to @nateraw for adding this dataset.

Downloads last month
12,002
Edit dataset card
Evaluate models HF Leaderboard

Models trained or fine-tuned on beans