Datasets:
Commit ·
3cfe4fb
0
Parent(s):
CommonsPano v1.0
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +60 -0
- README.md +124 -0
- attribution.csv +0 -0
- by-sa/train/commons_100225421.jpg +3 -0
- by-sa/train/commons_100255206.jpg +3 -0
- by-sa/train/commons_100891064.jpg +3 -0
- by-sa/train/commons_100891388.jpg +3 -0
- by-sa/train/commons_100903687.jpg +3 -0
- by-sa/train/commons_101356547.jpg +3 -0
- by-sa/train/commons_101356560.jpg +3 -0
- by-sa/train/commons_101356570.jpg +3 -0
- by-sa/train/commons_101356605.jpg +3 -0
- by-sa/train/commons_101356632.jpg +3 -0
- by-sa/train/commons_101356642.jpg +3 -0
- by-sa/train/commons_101356659.jpg +3 -0
- by-sa/train/commons_101356664.jpg +3 -0
- by-sa/train/commons_101356673.jpg +3 -0
- by-sa/train/commons_101356696.jpg +3 -0
- by-sa/train/commons_101356717.jpg +3 -0
- by-sa/train/commons_101356728.jpg +3 -0
- by-sa/train/commons_101356736.jpg +3 -0
- by-sa/train/commons_101356747.jpg +3 -0
- by-sa/train/commons_101356755.jpg +3 -0
- by-sa/train/commons_101356770.jpg +3 -0
- by-sa/train/commons_101356777.jpg +3 -0
- by-sa/train/commons_101356795.jpg +3 -0
- by-sa/train/commons_101356805.jpg +3 -0
- by-sa/train/commons_101356813.jpg +3 -0
- by-sa/train/commons_101356823.jpg +3 -0
- by-sa/train/commons_101356842.jpg +3 -0
- by-sa/train/commons_101356871.jpg +3 -0
- by-sa/train/commons_101356875.jpg +3 -0
- by-sa/train/commons_101356881.jpg +3 -0
- by-sa/train/commons_101356890.jpg +3 -0
- by-sa/train/commons_101356893.jpg +3 -0
- by-sa/train/commons_101356897.jpg +3 -0
- by-sa/train/commons_101356911.jpg +3 -0
- by-sa/train/commons_101356928.jpg +3 -0
- by-sa/train/commons_101356947.jpg +3 -0
- by-sa/train/commons_101356955.jpg +3 -0
- by-sa/train/commons_101356965.jpg +3 -0
- by-sa/train/commons_101356974.jpg +3 -0
- by-sa/train/commons_101356982.jpg +3 -0
- by-sa/train/commons_101356996.jpg +3 -0
- by-sa/train/commons_101357001.jpg +3 -0
- by-sa/train/commons_101357015.jpg +3 -0
- by-sa/train/commons_101357021.jpg +3 -0
- by-sa/train/commons_101357036.jpg +3 -0
- by-sa/train/commons_101357042.jpg +3 -0
- by-sa/train/commons_101357049.jpg +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: CommonsPano
|
| 3 |
+
license:
|
| 4 |
+
- cc0-1.0
|
| 5 |
+
- cc-by-2.0
|
| 6 |
+
- cc-by-2.5
|
| 7 |
+
- cc-by-3.0
|
| 8 |
+
- cc-by-4.0
|
| 9 |
+
- cc-by-sa-3.0
|
| 10 |
+
- cc-by-sa-4.0
|
| 11 |
+
- other
|
| 12 |
+
tags:
|
| 13 |
+
- camera-calibration
|
| 14 |
+
- panorama
|
| 15 |
+
- "360"
|
| 16 |
+
- equirectangular
|
| 17 |
+
- wikimedia-commons
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1K<n<10K
|
| 20 |
+
configs:
|
| 21 |
+
- config_name: by
|
| 22 |
+
default: true
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: by/train/*
|
| 26 |
+
- split: validation
|
| 27 |
+
path: by/validation/*
|
| 28 |
+
- config_name: by-sa
|
| 29 |
+
data_files:
|
| 30 |
+
- split: train
|
| 31 |
+
path: by-sa/train/*
|
| 32 |
+
- split: validation
|
| 33 |
+
path: by-sa/validation/*
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# CommonsPano
|
| 37 |
+
|
| 38 |
+
**CommonsPano** contains 9,891 images with a 2:1 aspect ratio from [Wikimedia Commons](https://commons.wikimedia.org),
|
| 39 |
+
almost all of them equirectangular 360° panoramas, used as training data for single-image camera calibration in TODO: paper title. Training views with sampled camera
|
| 40 |
+
models are rendered from the panoramas.
|
| 41 |
+
|
| 42 |
+
[**paper** (TODO)]() | [**code** (TODO)]()
|
| 43 |
+
|
| 44 |
+
## Dataset Structure
|
| 45 |
+
|
| 46 |
+
```
|
| 47 |
+
CommonsPano
|
| 48 |
+
├── by/ # public domain, CC0, CC BY
|
| 49 |
+
│ ├── train/ # 4,384 images + metadata.csv
|
| 50 |
+
│ └── validation/ # 301 images + metadata.csv
|
| 51 |
+
├── by-sa/ # CC BY-SA
|
| 52 |
+
│ ├── train/ # 4,952 images + metadata.csv
|
| 53 |
+
│ └── validation/ # 254 images + metadata.csv
|
| 54 |
+
├── attribution.csv # all 9,891 images
|
| 55 |
+
└── removed_duplicates.csv # 465 panoramas removed in deduplication (not included)
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
Images are `commons_<pageid>.jpg`, 4,096 to 8,192 px wide, width / height = 2 within 1 %.
|
| 59 |
+
|
| 60 |
+
## Dataset Fields
|
| 61 |
+
|
| 62 |
+
`attribution.csv` and each `metadata.csv` have one row per image:
|
| 63 |
+
|
| 64 |
+
- `file_name`, `subset`, `split`
|
| 65 |
+
- `pageid`, `title`, `page_url`: the Commons file page
|
| 66 |
+
- `author`, `attribution`: the author and the requested attribution text from Commons
|
| 67 |
+
- `license_name`, `license_url`: the licence of the file on Commons
|
| 68 |
+
- `uploader`: the Commons account that uploaded the file
|
| 69 |
+
- `width`, `height`
|
| 70 |
+
- `modified`: what we changed in the file
|
| 71 |
+
- `commons_restrictions`: the Commons `Restrictions` field (`personality` for 21 files)
|
| 72 |
+
|
| 73 |
+
## Licence and Attribution
|
| 74 |
+
|
| 75 |
+
Each image keeps the licence of its Commons file; there is no single licence for the images (`license_name`, `license_url` in `attribution.csv`):
|
| 76 |
+
|
| 77 |
+
| subset | licence (images) | images |
|
| 78 |
+
|---|---|---|
|
| 79 |
+
| `by` | Public domain (63), CC0 (1,843), CC BY 2.0 (285), CC BY 2.5 (1), CC BY 3.0 (376), CC BY 4.0 (2,117) | 4,685 |
|
| 80 |
+
| `by-sa` | CC BY-SA 2.0 (86), CC BY-SA 3.0 (189), CC BY-SA 3.0 de (20), CC BY-SA 3.0 au (38), CC BY-SA 4.0 (4,873) | 5,206 |
|
| 81 |
+
|
| 82 |
+
CC BY and CC BY-SA require attribution: use the `author`, `attribution`, `license_name`, `license_url`, `page_url`
|
| 83 |
+
and `modified` columns, and keep `attribution.csv` with anything you share that is derived from this dataset.
|
| 84 |
+
Adaptations of CC BY-SA images must be shared under the terms of their licence.
|
| 85 |
+
|
| 86 |
+
The CSV files and this card are licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), except the values taken from Wikimedia Commons
|
| 87 |
+
(titles, authors, attribution texts, licences).
|
| 88 |
+
|
| 89 |
+
All images were re-encoded as JPEG (quality 92) without metadata; images wider than 8,192 px were downscaled to
|
| 90 |
+
8,192 × 4,096.
|
| 91 |
+
|
| 92 |
+
## Collection
|
| 93 |
+
|
| 94 |
+
Downloaded from Wikimedia Commons with `data_utils/scrapers/commons_panos.py` (TODO: link), at most 500 panoramas
|
| 95 |
+
per uploader. Panoramas from Poly Haven and ambientCG (part of OpenPano v2) and duplicates found by image content
|
| 96 |
+
were removed (`removed_duplicates.csv`). Train / validation are split by uploader.
|
| 97 |
+
|
| 98 |
+
## Known Issues
|
| 99 |
+
|
| 100 |
+
- The panoramas were not curated and may be tilted; they include street-level captures from vehicles, aerial
|
| 101 |
+
panoramas and a few images that are not photographs.
|
| 102 |
+
- 11 panoramas show Florence near Florence Cathedral, a scene of the megadepth2k benchmark used in the paper.
|
| 103 |
+
- Panoramas may show identifiable people or licence plates. To request the removal of an image, contact TODO
|
| 104 |
+
(e-mail) or open a discussion on this repository.
|
| 105 |
+
|
| 106 |
+
## Usage
|
| 107 |
+
|
| 108 |
+
```python
|
| 109 |
+
from datasets import load_dataset
|
| 110 |
+
|
| 111 |
+
ds = load_dataset("LiteCalib/CommonsPano", "by") # or "by-sa"
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
```python
|
| 115 |
+
from huggingface_hub import snapshot_download
|
| 116 |
+
|
| 117 |
+
path = snapshot_download("LiteCalib/CommonsPano", repo_type="dataset")
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
## Citation
|
| 121 |
+
|
| 122 |
+
```bibtex
|
| 123 |
+
TODO
|
| 124 |
+
```
|
attribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
by-sa/train/commons_100225421.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_100255206.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_100891064.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_100891388.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_100903687.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356547.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356560.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356570.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356605.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356632.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356642.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356659.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356664.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356673.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356696.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356717.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356728.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356736.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356747.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356755.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356770.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356777.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356795.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356805.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356813.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356823.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356842.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356871.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356875.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356881.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356890.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356893.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356897.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356911.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356928.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356947.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356955.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356965.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356974.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356982.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101356996.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101357001.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101357015.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101357021.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101357036.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101357042.jpg
ADDED
|
Git LFS Details
|
by-sa/train/commons_101357049.jpg
ADDED
|
Git LFS Details
|