File size: 5,579 Bytes
2fa614c
1e0711e
 
2fa614c
 
 
e11a869
3816ad9
 
 
 
1e0711e
c66425c
 
4790179
 
 
 
e9eeb3e
5912239
4790179
 
e9eeb3e
 
1737cf8
 
712c908
4790179
 
1737cf8
 
 
 
 
4790179
 
1737cf8
 
 
4790179
1e0711e
 
e11a869
c66425c
 
5912239
c66425c
5912239
 
0d9ab38
43543d7
b14e0d8
9149751
39eb67b
 
9dd2cc3
0d9ab38
31432d0
ca4ee0c
9149751
31432d0
 
bc576e6
 
 
ca4ee0c
bc576e6
 
 
ca4ee0c
bc576e6
863cbfd
249c6ed
f37cb7e
 
 
 
e4021f1
f37cb7e
f807ccb
8a1ecf1
 
f37cb7e
 
51ee882
1e0a2fc
09b738c
9fc9ef1
51ee882
 
 
 
 
 
9fc9ef1
 
863cbfd
2a33f6e
 
4a41d60
6c030d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b9ea9dd
 
 
 
e11a869
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
---
language:
- en
task_categories:
- image-classification
- object-detection
- visual-question-answering
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: caption_enriched
    dtype: string
  - name: label_bbox_enriched
    list:
    - name: bbox
      sequence: int64
    - name: label
      dtype: string
  - name: issues
    list:
    - name: confidence
      dtype: float64
    - name: description
      dtype: 'null'
    - name: issue_type
      dtype: string
  splits:
  - name: train
    num_bytes: 148786604
    num_examples: 3680
  - name: test
    num_bytes: 133006684.375
    num_examples: 3669
  download_size: 281256366
  dataset_size: 281793288.375
---

[![Visualize Dataset on Visual Layer](https://img.shields.io/badge/Visualize%20on-%20Visual%20Layer-purple?style=for-the-badge&logo=numpy)](https://app.visual-layer.com/dataset/3972b3fc-1809-11ef-bb76-064432e0d220/data?p=1&page=1)

<video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/6195f404c07573b03c61702c/_RZTBZ6zNGz8f7g0sxow4.mp4"></video>

# Oxford-IIIT-Pets-VL-Enriched

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

The label issues help to curate a cleaner and leaner dataset.

## Description
The dataset consists of 6 columns:

+ `image_id`: Unique identifier for each image. `image_id` is the original filename of the image from the [Oxford IIIT Pet dataset](https://www.robots.ox.ac.uk/~vgg/data/pets/).
+ `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.
+ `issues`: Quality issues found such as duplicate, mislabeled, dark, blurry, bright, and outlier image. 

## Usage
This dataset can be used with the Hugging Face Datasets library.:
```python
import datasets
ds = datasets.load_dataset("visual-layer/oxford-iiit-pet-vl-enriched")
```

More in this [notebook](usage.ipynb).

## Interactive Visualization
Visual Layer provides a platform to interactively visualize the dataset.
Check it out [here](https://app.visual-layer.com/dataset/3972b3fc-1809-11ef-bb76-064432e0d220/data?p=1&page=1). No sign-up required.

<video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/6195f404c07573b03c61702c/_RZTBZ6zNGz8f7g0sxow4.mp4"></video>

<div style="text-align: center;">
  <a href="https://app.visual-layer.com/dataset/3972b3fc-1809-11ef-bb76-064432e0d220/data?p=1&page=1">
    <img src="https://img.shields.io/badge/Visualize%20on-%20Visual%20Layer-purple?style=for-the-badge&logo=numpy" alt="Visualize Dataset on Visual Layer">
  </a>
</div>

## License & Disclaimer

We provide no warranty on 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

<div style="text-align: center; margin-top:50px;">
    <a href="https://visual-layer.com/" style="padding:10px; display: inline-block;">
                <img alt="site" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/web.png" width="50"></a>
    <a href="https://medium.com/visual-layer" style="padding:10px; display: inline-block;">
                <img alt="blog" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/forum.png" width="50"></a>
    <a href="https://github.com/visual-layer/fastdup" style="padding:10px; display: inline-block;">
                <img alt="github" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/github.png" width="50"></a>
    <a href="https://discord.com/invite/Dqw458EG/" style="padding:10px; display: inline-block;">
                <img alt="slack" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/discord.png" width="50"></a>
    <a href="https://www.linkedin.com/company/visual-layer/" style="padding:10px; display: inline-block;">
                <img alt="linkedin" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/linkedin.png" width="50"></a>
    <a href="https://www.youtube.com/@visual-layer" style="padding:10px; display: inline-block;">
                <img alt="youtube" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/youtube.png" width="50"></a>
    <a href="https://twitter.com/visual_layer" style="padding:10px; display: inline-block;">
                <img alt="twitter" src="https://vl-blog.s3.us-east-2.amazonaws.com/imgs/x.png" width="50"></a>
</div>
<div style="text-align: center;">
    <img style="width:200px; display: block; margin: 0 auto;" alt="logo" src="https://d2iycffepdu1yp.cloudfront.net/design-assets/VL_horizontal_logo.png">
    <div style="margin-top:20px;">Copyright © 2024 Visual Layer. All rights reserved.</div>
</div>