Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 289, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/folder_based_builder/folder_based_builder.py", line 237, in _split_generators
                  raise ValueError(
              ValueError: `file_name` or `*_file_name` must be present as dictionary key (with type string) in metadata files
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 343, in get_dataset_split_names
                  info = get_dataset_config_info(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 294, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Cheese Dataset

This is a dataset of 3222 images of 652 different types of cheese.

Dataset Structure

The dataset is structured as follows:

  • cheese_dataset/: Contains the images, organized in subdirectories named after the cheese type.
  • metadata.jsonl: A JSONL file containing metadata for each image. Each line is a JSON object with the following fields:
    • cheese: The name of the cheese.
    • image_path: The path to the image file.
  • cheeses.txt: A text file containing the list of all 652 cheese names.

Data Collection and Filtering

Image Source

The images in this dataset were scraped from Wikimedia Commons. Only images with open licenses (CC0, CC-BY, CC-BY-SA) were collected.

Filtering Process

A multi-stage filtering process was used to ensure the quality of the dataset:

  1. Initial Scraping: The initial set of images was collected by searching for cheese names on Wikimedia Commons. Basic filtering was applied to select only image files and remove duplicates based on their SHA1 hash.
  2. CLIP-based Classification: The openai/clip-vit-base-patch32 model was used to classify whether an image actually contains cheese. A set of cheese-related and non-cheese-related prompts were used for this classification.
  3. Heuristic Checks: Additional checks were performed on the images, including:
    • Minimum image dimensions of 100x100 pixels.
    • Maximum aspect ratio of 5.0.

Known Limitations

While a rigorous filtering process was used, some inaccuracies may still remain in the dataset. For example, an image of a cheesecake might be incorrectly classified as cheese. Users should be aware of this and may want to perform their own checks on the data.

Downloads last month
11