dnth's picture
Add captions to images.
ffd6257 verified
|
raw
history blame
No virus
5.07 kB
metadata
language:
  - en
task_categories:
  - image-classification
  - object-detection
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*
dataset_info:
  features:
    - name: image_id
      dtype: string
    - name: image
      dtype: image
    - name: label_cat_dog
      dtype: string
    - name: label_breed
      dtype: string
    - name: label_bbox_enriched
      list:
        - name: bbox
          sequence: float64
        - name: confidence
          dtype: float64
        - name: label
          dtype: string
    - name: caption_enriched
      dtype: string
  splits:
    - name: train
      num_bytes: 149043965.64
      num_examples: 3680
    - name: test
      num_bytes: 133273793.037
      num_examples: 3669
  download_size: 281624839
  dataset_size: 282317758.677

Visualize Dataset on Visual Layer

Oxford-IIIT-Pets-VL-Enriched

An enriched version of the Oxford IIIT Pets Dataset with image caption and bounding boxes. With this additional information, the Oxford IIIT Pet dataset can be extended to a variety of tasks such as image retrieval or visual question answering.

Description

The dataset consists of 6 columns:

  • image_id: Unique identifier for each image. image_id is the original filename of the image from Oxford IIIT Pets dataset.
  • image: Image data in the form of PIL Image.
  • label_cat_dog: Label for the image, whether it is a cat or a dog. Provided by the authors of the original dataset.
  • label_breed: Label for the breed of the cat or dog in the image. Consists of 37 pet breeds of cats and dogs. Provided by the authors of the original dataset.
  • label_bbox_enriched: Enriched labels for the image. Consists of bounding box coordinates, confidence score and label for the bounding box. Generated by in-house and customized YOLOv8 model.
  • caption_enriched: Enriched captions for the image. Generated by BLIP2 captioning model.

Usage

This dataset can be used with the Hugging Face Datasets library.:

import datasets
ds = datasets.load_dataset("visual-layer/oxford-iiit-pet-vl-enriched")

More in this notebook.

Interactive Visualization

Visual Layer provides a platform to interactively visualize the dataset. Check it out here. No sign-up required.

License & Disclaimer

We provide no warranty of the dataset, and the user takes full responsibility for the usage of the dataset. By using the dataset, you agree to the terms of the Oxford IIIT Pets dataset license.

About Visual Layer

logo
Copyright © 2024 Visual Layer. All rights reserved.