mariosasko
commited on
Commit
•
9a9604d
1
Parent(s):
fe89da2
Update PASS dataset version (#4488)
Browse files* Update card
* Update script
* Update dataset_infos.json
* Update datasets/pass/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Update script version
* Update datasets/pass/dataset_infos.json
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
Commit from https://github.com/huggingface/datasets/commit/6a0e4241f1b17bcdeaf6558aa583b6153d13b571
- README.md +1 -1
- dataset_infos.json +1 -1
- dummy/{1.0.0 → 2.0.0}/dummy_data.zip +0 -0
- pass.py +5 -3
README.md
CHANGED
@@ -111,7 +111,7 @@ A data point comprises an image and its meta-data:
|
|
111 |
|
112 |
### Data Splits
|
113 |
|
114 |
-
All the data is contained in training set. The training set has 1
|
115 |
|
116 |
From the paper:
|
117 |
|
|
|
111 |
|
112 |
### Data Splits
|
113 |
|
114 |
+
All the data is contained in the training set. The training set has 1,439,588 instances as this implementation corresponds to the most recent release (v3) from the [version history](https://github.com/yukimasano/PASS/blob/main/version_history.txt).
|
115 |
|
116 |
From the paper:
|
117 |
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"default": {"description": "PASS (Pictures without humAns for Self-Supervision) is a large-scale dataset of 1,440,191 images that does not include any humans\nand which can be used for high-quality pretraining while significantly reducing privacy concerns.\nThe PASS images are sourced from the YFCC-100M dataset.\n", "citation": "@Article{asano21pass,\nauthor = \"Yuki M. Asano and Christian Rupprecht and Andrew Zisserman and Andrea Vedaldi\",\ntitle = \"PASS: An ImageNet replacement for self-supervised pretraining without humans\",\njournal = \"NeurIPS Track on Datasets and Benchmarks\",\nyear = \"2021\"\n}\n", "homepage": "https://www.robots.ox.ac.uk/~vgg/research/pass/", "license": "Creative Commons Attribution 4.0 International", "features": {"image": {"id": null, "_type": "Image"}, "creator_username": {"dtype": "string", "id": null, "_type": "Value"}, "hash": {"dtype": "string", "id": null, "_type": "Value"}, "gps_latitude": {"dtype": "float32", "id": null, "_type": "Value"}, "gps_longitude": {"dtype": "float32", "id": null, "_type": "Value"}, "date_taken": {"dtype": "timestamp[us]", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "pass", "config_name": "default", "version": {"version_str": "
|
|
|
1 |
+
{"default": {"description": "PASS (Pictures without humAns for Self-Supervision) is a large-scale dataset of 1,440,191 images that does not include any humans\nand which can be used for high-quality pretraining while significantly reducing privacy concerns.\nThe PASS images are sourced from the YFCC-100M dataset.\n", "citation": "@Article{asano21pass,\nauthor = \"Yuki M. Asano and Christian Rupprecht and Andrew Zisserman and Andrea Vedaldi\",\ntitle = \"PASS: An ImageNet replacement for self-supervised pretraining without humans\",\njournal = \"NeurIPS Track on Datasets and Benchmarks\",\nyear = \"2021\"\n}\n", "homepage": "https://www.robots.ox.ac.uk/~vgg/research/pass/", "license": "Creative Commons Attribution 4.0 International", "features": {"image": {"decode": true, "id": null, "_type": "Image"}, "creator_username": {"dtype": "string", "id": null, "_type": "Value"}, "hash": {"dtype": "string", "id": null, "_type": "Value"}, "gps_latitude": {"dtype": "float32", "id": null, "_type": "Value"}, "gps_longitude": {"dtype": "float32", "id": null, "_type": "Value"}, "date_taken": {"dtype": "timestamp[us]", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "pass", "config_name": "default", "version": {"version_str": "2.0.0", "description": null, "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 178563446100, "num_examples": 1439588, "dataset_name": "pass"}}, "download_checksums": {"https://zenodo.org/record/6615455/files/pass_metadata.csv?download=1": {"num_bytes": 152590171, "checksum": "8b6fde80b48326bda9da0a7c48f92146a58a847f76a1dc40603b7e4f73f5e798"}, "https://zenodo.org/record/6615455/files/PASS.0.tar?download=1": {"num_bytes": 18704343040, "checksum": "5ff59cbf372a05d82c22afa8191eb229959730fd371b84a0ec784e7f91b1d285"}, "https://zenodo.org/record/6615455/files/PASS.1.tar?download=1": {"num_bytes": 18675681280, "checksum": "d7b3a1d82c9695f31e9d8ebb71f450afef39e3353c608971fc74780f59e909fd"}, "https://zenodo.org/record/6615455/files/PASS.2.tar?download=1": {"num_bytes": 18743080960, "checksum": "b62021816caac550580fcace7e74e8cb7358663006a7e28707c602859aa51243"}, "https://zenodo.org/record/6615455/files/PASS.3.tar?download=1": {"num_bytes": 18694615040, "checksum": "2af47eab3a026ca5a747cccf3d6ababbd5a9b028d99d6f76e92a01d2f2b64276"}, "https://zenodo.org/record/6615455/files/PASS.4.tar?download=1": {"num_bytes": 18673643520, "checksum": "0170c73cc846e07fbf2bbece0ea62a893b0d440b937dcac965e5b25f4e75006d"}, "https://zenodo.org/record/6615455/files/PASS.5.tar?download=1": {"num_bytes": 18715811840, "checksum": "79ccc5167fa0e7950fc6dca1eec3c9b8db1d31313a83c8a19d2f9b9a88d1eeaf"}, "https://zenodo.org/record/6615455/files/PASS.6.tar?download=1": {"num_bytes": 18728970240, "checksum": "adabc1ab18be4587a4c1882633015845681e9d8551075406e8d83a025819eef6"}, "https://zenodo.org/record/6615455/files/PASS.7.tar?download=1": {"num_bytes": 18703380480, "checksum": "8661044c3a46f1e2f5c2fa96b9deb48c6b2d218ac9753b139073186920c15ab7"}, "https://zenodo.org/record/6615455/files/PASS.8.tar?download=1": {"num_bytes": 18695772160, "checksum": "0dba1ac815c001d9a83787321e1929b03cebcccc1a8f12725eec866e80480a1f"}, "https://zenodo.org/record/6615455/files/PASS.9.tar?download=1": {"num_bytes": 11152302080, "checksum": "9a7ab254638f4bf21267aa0165452572ae52d82aabb451a65e56a2d51a17e982"}}, "download_size": 179640190811, "post_processing_size": null, "dataset_size": 178563446100, "size_in_bytes": 358203636911}}
|
dummy/{1.0.0 → 2.0.0}/dummy_data.zip
RENAMED
File without changes
|
pass.py
CHANGED
@@ -41,15 +41,17 @@ _HOMEPAGE = "https://www.robots.ox.ac.uk/~vgg/research/pass/"
|
|
41 |
|
42 |
_LICENSE = "Creative Commons Attribution 4.0 International"
|
43 |
|
44 |
-
_IMAGE_ARCHIVE_DOWNLOAD_URL_TEMPLATE = "https://zenodo.org/record/
|
45 |
|
46 |
-
_METADATA_DOWNLOAD_URL = "https://zenodo.org/record/
|
47 |
|
48 |
|
49 |
class PASS(datasets.GeneratorBasedBuilder):
|
50 |
"""PASS dataset."""
|
51 |
|
52 |
-
|
|
|
|
|
53 |
|
54 |
def _info(self):
|
55 |
return datasets.DatasetInfo(
|
|
|
41 |
|
42 |
_LICENSE = "Creative Commons Attribution 4.0 International"
|
43 |
|
44 |
+
_IMAGE_ARCHIVE_DOWNLOAD_URL_TEMPLATE = "https://zenodo.org/record/6615455/files/PASS.{idx}.tar?download=1"
|
45 |
|
46 |
+
_METADATA_DOWNLOAD_URL = "https://zenodo.org/record/6615455/files/pass_metadata.csv?download=1"
|
47 |
|
48 |
|
49 |
class PASS(datasets.GeneratorBasedBuilder):
|
50 |
"""PASS dataset."""
|
51 |
|
52 |
+
# 1.0.0 - v2 from https://github.com/yukimasano/PASS/blob/6226b456d23efa56b44e79648a9913e086d57335/version_history.txt
|
53 |
+
# 2.0.0 - v3 from https://github.com/yukimasano/PASS/blob/6226b456d23efa56b44e79648a9913e086d57335/version_history.txt
|
54 |
+
VERSION = datasets.Version("2.0.0")
|
55 |
|
56 |
def _info(self):
|
57 |
return datasets.DatasetInfo(
|