# Datasets: kietzmannlab /ecoset

Dataset Preview
The dataset preview is not available for this dataset.
Cannot get the split names for the dataset.
Error code:   SplitsNamesError
Exception:    ImportError
Message:      To be able to use kietzmannlab/ecoset, you need to install the following dependencies: boto3, botocore.
Please install them using 'pip install boto3 botocore' for instance.
Traceback:    Traceback (most recent call last):
File "/src/workers/splits/src/splits/response.py", line 82, in get_splits_response
split_full_names = get_dataset_split_full_names(dataset=dataset, use_auth_token=use_auth_token)
File "/src/workers/splits/src/splits/response.py", line 41, in get_dataset_split_full_names
for config in get_dataset_config_names(path=dataset, use_auth_token=use_auth_token)
File "/src/workers/splits/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 308, in get_dataset_config_names
dataset_module = dataset_module_factory(
File "/src/workers/splits/.venv/lib/python3.9/site-packages/datasets/load.py", line 1222, in dataset_module_factory
raise e1 from None
File "/src/workers/splits/.venv/lib/python3.9/site-packages/datasets/load.py", line 1193, in dataset_module_factory
return HubDatasetModuleFactoryWithScript(
File "/src/workers/splits/.venv/lib/python3.9/site-packages/datasets/load.py", line 906, in get_module
raise ImportError(
ImportError: To be able to use kietzmannlab/ecoset, you need to install the following dependencies: boto3, botocore.
Please install them using 'pip install boto3 botocore' for instance.

Need help to make the dataset viewer work? Open an discussion for direct support.

### Dataset Summary

Tired of all the dogs in ImageNet (ILSVRC)? Then ecoset is here for you. 1.5m images from 565 basic level categories, chosen to be both (i) frequent in linguistic usage, and (ii) rated by human observers as concrete (e.g. ‘table’ is concrete, ‘romance’ is not).

Ecoset is a typical image recognition dataset, combining images of objects with appropriate labels (one label per image). Importantly, ecoset is intended to provide higher ecological validity than its counterparts, with a mislabelling error rate < 5% and filtered for NSFW content. For more information on the dataset, consider reading the original publication.

Ecoset consists of a train, test, and validation subset which all are openly available to the user.

Ecoset is a large multi-class single-label object recognition image dataset (similar to ImageNet).

## Installation

### Install Requirements

In order to work with ecoset, please make sure to install the s3 compatible version of huggingface datasets, which should include the s3fs, botocore and boto3 modules:

pip install datasets[s3]


If you want to work with the dataset in Huggingface.datasets, you might also want to make sure to install PIL (pip install Pillow) in order to work with image input. However, downloading the dataset will work despite not having installed PIL.

Please set ignore_verifications=True. when downloading this dataset, else the download will result in an error:

from datasets import load_dataset


NOTE: If you get errors like: FileNotFoundError: [Errno 2] No such file or directory:'<DATASET_PATH>' this is likely due do having previously downloaded the dataset and then cancelling the download. If this is the case for you, you can fix this error by manually removing the dataset path and reinstalling the dataset.

## Dataset Structure

We show detailed information for all the configurations of the dataset. Currently, there is only one setting (Full) available, containing all data.

### Data Instances

#### Full

• Total amount of disk used: 311 GB

## Dataset Creation

A total of 565 categories were selected based on the following: 1) their word frequency in American television and film subtitles (SUBTLEX_US), 2) the perceived concreteness by human observers, and 3) the availability of a minimum of 700 images. Images were sourced via the overall ImageNet database (the same resource used for ILSVRC 2012) or obtained under CC BY-NC-SA 2.0 license from Bing image search and Flickr. Thorough data cleaning procedures were put in place to remove duplicates and to assure an expected misclassification rate per category of <4%.

### Curation Rationale

More information on the curation of the dataset can be found in the original publication.

### Source Data

The source data is available under: https://codeocean.com/capsule/9570390/tree/v1

### Annotations

Each ecoset image folder is annotated with class labels according to the main object depicted in a class of images. No further annotations are added to the dataset.

### Personal and Sensitive Information

The dataset was tested to exclude sensitive images using Yahoo's Open NSFW detection model, removing all image with an NSFW score above 0.8. For this dataset, only images with secured license information was used, which should prevent the inclusion of images without consent of the image's authors and subjects. Despite these measures, it is possible that the images in the dataset contain personal and sensitive information.

## Considerations for Using the Data

### Social Impact of Dataset

Large-scale image-label datasets such as ImageNet are the backbone of modern Computer Vision. However, such large datasets often suffer from problems like mislabeling, category biases, misrepresentations, and unsafe content. Ecoset was created with the aim to reduce these biases and consequently improve the social impact of Computer Vision techniques trained on the dataset. More information on the social impact of the dataset can be found in the original publication.

### Discussion of Biases

Despite best efforts to provide an ecologically valid and overall less biased dataset, ecoset is still likely to contain biased data. The category selection of ecoset was based on human concreteness ratings and word frequencies in a corpus consisting of American television and film subtitles. This undoubtedly biases the category selection toward Western cultures. Image inclusion was based on the availability via Bing/Flickr search results as well as the existence of relevant ImageNet categories. Images depicting people, specifically the categories “man,” “woman,” and “child,” were not sampled according to census distributions (age, ethnicity, gender, etc.).

### Other Known Limitations

In addition to points mentioned in Discussion of Biases, ecoset image and category distributions do not reflect the naturalistic, egocentric visual input typically encountered in the everyday life of infant and adults.

### Dataset Curators

The corpus was put together by Johannes Mehrer, Courtney J. Spoerer, Emer C. Jones, Nikolaus Kriegeskorte, and Tim C. Kietzmann.

### Citation Information

@article{mehrer2021ecologically,
title={An ecologically motivated image dataset for deep learning yields better models of human vision},
author={Mehrer, Johannes and Spoerer, Courtney J and Jones, Emer C and Kriegeskorte, Nikolaus and Kietzmann, Tim C},
journal={Proceedings of the National Academy of Sciences},
volume={118},
number={8},
pages={e2011417118},
year={2021},