pixmo-points / README.md
chrisc36's picture
Update README.md
728887f verified
|
raw
history blame
2.48 kB
---
license: odc-by
dataset_info:
features:
- name: image_url
dtype: string
- name: image_sha256
dtype: string
- name: points
list:
- name: x
dtype: float64
- name: y
dtype: float64
- name: count
dtype: int64
- name: label
dtype: string
- name: collection_method
dtype: string
splits:
- name: train
num_bytes: 668565775
num_examples: 2376222
download_size: 198336771
dataset_size: 668565775
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# PixMo-Points
PixMo-Points is a dataset of images paired with referring expressions and points marking the locations the
referring expression refers to the image. It was collect using human annotators and contain a diverse
range of points and expressions, with many high-frequency (10+) expression.
PixMo-Points is a part of the [PixMo dataset collection](https://huggingface.co/collections/allenai/pixmo-674746ea613028006285687b) and was used to
provide the pointing capabilities of the [Molmo family of models](https://huggingface.co/collections/allenai/molmo-66f379e6fe3b8ef090a8ca19)
Quick links:
- 📃 [Paper](https://molmo.allenai.org/paper.pdf)
- 🎥 [Blog with Videos](https://molmo.allenai.org/blog)
## Loading
```python
data = datasets.load_dataset("allenai/pixmo-points")
```
## Data Format
Images are stored as URLs that will need to be downloaded separately. Note image urls can be repeated in the data.
The `points` fields contains the x, y coordinates specified in pixels.
The `label` field contains the string of name of what is being pointed at, this can be a simple object a more complex referring expression.
The `collection` method field specifies whether images are chosen to target high-frequency counting (``counting") or general pointing (``pointing"). The data
for rows collected with both methods is the same.
## Image Checking
Image hashes are included to support double-checking that the downloaded image matches the annotated image.
It can be checked like this:
```python
from hashlib import sha256
import requests
example = data[0]
image_bytes = requests.get(example["image_url"]).content
byte_hash = sha256(image_bytes).hexdigest()
assert byte_hash == example["image_sha256"]
```
## License
This dataset is licensed under ODC-BY-1.0. It is intended for research and educational use in accordance with Ai2's [Responsible Use Guidelines](https://allenai.org/responsible-use).