asmaerten commited on
Commit
cb6578b
·
verified ·
1 Parent(s): 49688f6

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +5 -4
  2. giaa/test.csv +0 -0
  3. giaa/train.csv +0 -0
  4. giaa/validation.csv +0 -0
  5. image_attributes/image_attributes.csv +0 -0
  6. images/abstract/aaron-siskind_chicago-1951.jpg +3 -0
  7. images/abstract/aaron-siskind_chicago-6-1961.jpg +3 -0
  8. images/abstract/aaron-siskind_new-york-2-1948.jpg +3 -0
  9. images/abstract/aaron-siskind_new-york-24-1988.jpg +3 -0
  10. images/abstract/aaron-siskind_new-york-40-1986.jpg +3 -0
  11. images/abstract/aaron-siskind_per-400-1983.jpg +3 -0
  12. images/abstract/aaron-siskind_providence-92-1986.jpg +3 -0
  13. images/abstract/aaron-siskind_recife-olinda-8-1968.jpg +3 -0
  14. images/abstract/aaron-siskind_rome-arch-of-constantine-10-1963.jpg +3 -0
  15. images/abstract/aaron-siskind_the-tree-35-1973.jpg +3 -0
  16. images/abstract/aaron-siskind_utah-84-1976.jpg +3 -0
  17. images/abstract/aaron-siskind_vera-cruz-96-1973.jpg +3 -0
  18. images/abstract/aaron-siskind_westport-10-1988.jpg +3 -0
  19. images/abstract/aaron-siskind_yuchitan-1-1955.jpg +3 -0
  20. images/abstract/abidin-dino_abstract-composition.jpg +3 -0
  21. images/abstract/abidin-dino_antibes-1961-1.jpg +3 -0
  22. images/abstract/abidin-dino_antibes-1961.jpg +3 -0
  23. images/abstract/abidin-dino_unknown-title-2.jpg +3 -0
  24. images/abstract/abidin-dino_unknown-title-8.jpg +3 -0
  25. images/abstract/ad-reinhardt_abstract-painiting-1963.jpg +3 -0
  26. images/abstract/ad-reinhardt_abstract-painting-1957.jpg +3 -0
  27. images/abstract/ad-reinhardt_abstract-painting-1961.jpg +3 -0
  28. images/abstract/ad-reinhardt_abstract-painting-1966-1.jpg +3 -0
  29. images/abstract/ad-reinhardt_abstract-painting-1966.jpg +3 -0
  30. images/abstract/ad-reinhardt_abstract-painting-blue-1953-1.jpg +3 -0
  31. images/abstract/ad-reinhardt_abstract-painting-blue-1953.jpg +3 -0
  32. images/abstract/ad-reinhardt_abstract-painting-no-9-1966.jpg +3 -0
  33. images/abstract/ad-reinhardt_abstract-painting-red-1952.jpg +3 -0
  34. images/abstract/ad-reinhardt_blue-painting-1953.jpg +3 -0
  35. images/abstract/ad-reinhardt_number-107-1950.jpg +3 -0
  36. images/abstract/ad-reinhardt_number-22-1949.jpg +3 -0
  37. images/abstract/ad-reinhardt_number-43-abstract-painting-yellow-1947.jpg +3 -0
  38. images/abstract/ad-reinhardt_number-6-1946.jpg +3 -0
  39. images/abstract/ad-reinhardt_painting-1958(4).jpg +3 -0
  40. images/abstract/ad-reinhardt_untitled-1954.jpg +3 -0
  41. images/abstract/ad-reinhardt_untitled-1966.jpg +3 -0
  42. images/abstract/ad-reinhardt_untitled-6-1966.jpg +3 -0
  43. images/abstract/ad-reinhardt_untitled-from-the-portfolio-ten-works-x-ten-painters-1964.jpg +3 -0
  44. images/abstract/ad-reinhardt_yellow-painting-1949.jpg +3 -0
  45. images/abstract/adnan-coker_unknown-title(10).jpg +3 -0
  46. images/abstract/adnan-coker_unknown-title(3).jpg +3 -0
  47. images/abstract/adnan-coker_untitled-1968.jpg +3 -0
  48. images/abstract/afro_abstract-composition-1975.jpg +3 -0
  49. images/abstract/afro_controcanto-1974.jpg +3 -0
  50. images/abstract/afro_feticcio.jpg +3 -0
README.md CHANGED
@@ -35,8 +35,7 @@ This repo is a cleaned version of the original LAPIS release -- see
35
 
36
  ## Contents
37
 
38
- - **`images/`**: all 11,723 images as plain `.jpg` files, flat (no
39
- subfolders). Download this folder either via the "Files and
40
  versions" tab above, `git clone`, or `huggingface_hub.snapshot_download`
41
  (see below).
42
  - **`giaa/{train,validation,test}.csv`**: one row per image, aggregated
@@ -52,7 +51,9 @@ This repo is a cleaned version of the original LAPIS release -- see
52
  ## Using the data without Python
53
 
54
  Download `images/`, `giaa/*.csv` and/or `piaa/piaa.csv` directly from this
55
- page (or `git clone` the whole repo). `image_filename` in the metadata files can be used to match metadata to the corresponding image in `images/`.
 
 
56
 
57
  ## Using the data for ML
58
  ```python
@@ -89,7 +90,7 @@ class LapisDataset(torch.utils.data.Dataset):
89
 
90
  def __getitem__(self, i):
91
  row = self.table[i]
92
- image = Image.open(self.images_dir / row["image_filename"]).convert("RGB")
93
  return self.transform(image), row[self.rating_column]
94
 
95
  transform = transforms.Compose([transforms.Resize((224, 224)), transforms.ToTensor()])
 
35
 
36
  ## Contents
37
 
38
+ - **`images/`**: contains 2 folders, figurative and abstract, with the 11,723 images as plain `.jpg` files, split into figurative and abstract works according to the `2_styles` label. Download this folder either via the "Files and
 
39
  versions" tab above, `git clone`, or `huggingface_hub.snapshot_download`
40
  (see below).
41
  - **`giaa/{train,validation,test}.csv`**: one row per image, aggregated
 
51
  ## Using the data without Python
52
 
53
  Download `images/`, `giaa/*.csv` and/or `piaa/piaa.csv` directly from this
54
+ page (or `git clone` the whole repo).
55
+ The `path` column (e.g.
56
+ `figurative/jan-matejko_....jpg`) is exactly where to find that row's image inside `images/`. The `image_filename` column is the image's bare filename, useful for matching a row across different tables.
57
 
58
  ## Using the data for ML
59
  ```python
 
90
 
91
  def __getitem__(self, i):
92
  row = self.table[i]
93
+ image = Image.open(self.images_dir / row["path"]).convert("RGB")
94
  return self.transform(image), row[self.rating_column]
95
 
96
  transform = transforms.Compose([transforms.Resize((224, 224)), transforms.ToTensor()])
giaa/test.csv CHANGED
The diff for this file is too large to render. See raw diff
 
giaa/train.csv CHANGED
The diff for this file is too large to render. See raw diff
 
giaa/validation.csv CHANGED
The diff for this file is too large to render. See raw diff
 
image_attributes/image_attributes.csv CHANGED
The diff for this file is too large to render. See raw diff
 
images/abstract/aaron-siskind_chicago-1951.jpg ADDED

Git LFS Details

  • SHA256: cd5717a20c399cc599f6f872aa8fc71b34313d01b5013401348b8b366ae80de1
  • Pointer size: 130 Bytes
  • Size of remote file: 49 kB
images/abstract/aaron-siskind_chicago-6-1961.jpg ADDED

Git LFS Details

  • SHA256: b41fd3ba5b765d55296c93f113ce6b1b62be56275fd3121a5957a4f4391655fd
  • Pointer size: 130 Bytes
  • Size of remote file: 63.6 kB
images/abstract/aaron-siskind_new-york-2-1948.jpg ADDED

Git LFS Details

  • SHA256: 042cc68651fdb6ca73af8c71ed4b932db63bfc4f6fdcca73c80122b9484268bf
  • Pointer size: 130 Bytes
  • Size of remote file: 56.9 kB
images/abstract/aaron-siskind_new-york-24-1988.jpg ADDED

Git LFS Details

  • SHA256: a3bf6f22a98af80055867c0a26f9ce80a6c834d19e43ac25414f53a26123afc1
  • Pointer size: 130 Bytes
  • Size of remote file: 61.5 kB
images/abstract/aaron-siskind_new-york-40-1986.jpg ADDED

Git LFS Details

  • SHA256: 066698971b562ef580f6b010491228b8a39b543f943bf0b68933f87313dcd14b
  • Pointer size: 130 Bytes
  • Size of remote file: 83.1 kB
images/abstract/aaron-siskind_per-400-1983.jpg ADDED

Git LFS Details

  • SHA256: b01c57fd0430c3d4732095a35f8ef028ffa0166deaada627dc09969d6aa37ff5
  • Pointer size: 130 Bytes
  • Size of remote file: 61 kB
images/abstract/aaron-siskind_providence-92-1986.jpg ADDED

Git LFS Details

  • SHA256: ac664f08bb7b7a2b6b58aae351d88189ac3ba06a171ccedc143dd37e9954e471
  • Pointer size: 130 Bytes
  • Size of remote file: 95.1 kB
images/abstract/aaron-siskind_recife-olinda-8-1968.jpg ADDED

Git LFS Details

  • SHA256: 98bb6727351d9017b1c36aec3b3dc06137d3a293d89da7c02c3332ae16088dd5
  • Pointer size: 130 Bytes
  • Size of remote file: 69.5 kB
images/abstract/aaron-siskind_rome-arch-of-constantine-10-1963.jpg ADDED

Git LFS Details

  • SHA256: 5b8a2216412aaa1d788aafc6432272819c456af6b75da6fb6a4e87947f1fa124
  • Pointer size: 130 Bytes
  • Size of remote file: 59.8 kB
images/abstract/aaron-siskind_the-tree-35-1973.jpg ADDED

Git LFS Details

  • SHA256: f3f66c3394c047fb8897c2d054c6c35bcf29d91182b82dd07f06c3c799c12996
  • Pointer size: 130 Bytes
  • Size of remote file: 94.6 kB
images/abstract/aaron-siskind_utah-84-1976.jpg ADDED

Git LFS Details

  • SHA256: cb344f7fb6c6bec874292f5c2a4f957f7ead3565026696b4e287b9c96daf8912
  • Pointer size: 130 Bytes
  • Size of remote file: 91.6 kB
images/abstract/aaron-siskind_vera-cruz-96-1973.jpg ADDED

Git LFS Details

  • SHA256: c8eeb452749ed4e81b1bd5dcbd5937952467ae29c603b43f5af62ff699703aed
  • Pointer size: 130 Bytes
  • Size of remote file: 76.2 kB
images/abstract/aaron-siskind_westport-10-1988.jpg ADDED

Git LFS Details

  • SHA256: 4e0256db854800b1c3ea57e57278929b7b4bab4c899905aed532e61d0f4e95d1
  • Pointer size: 131 Bytes
  • Size of remote file: 137 kB
images/abstract/aaron-siskind_yuchitan-1-1955.jpg ADDED

Git LFS Details

  • SHA256: 3ff292390e93fcb326a0c5125c551cb274f7dd3edfaedb4dbebcf68b24d7236e
  • Pointer size: 131 Bytes
  • Size of remote file: 153 kB
images/abstract/abidin-dino_abstract-composition.jpg ADDED

Git LFS Details

  • SHA256: 252510f178fbd57e921bab4dd4d407dd94fe4e335bf7879602ea1e2b57e50154
  • Pointer size: 130 Bytes
  • Size of remote file: 56.1 kB
images/abstract/abidin-dino_antibes-1961-1.jpg ADDED

Git LFS Details

  • SHA256: fa9b9a9565d1b10ddcaeb2e5064bb3c035f677684f0180519db90915eeff2747
  • Pointer size: 130 Bytes
  • Size of remote file: 39.1 kB
images/abstract/abidin-dino_antibes-1961.jpg ADDED

Git LFS Details

  • SHA256: f74ffaca707b2149cca99aaf27f3f2f890e72bb635003f455b1b558b3e825ffe
  • Pointer size: 130 Bytes
  • Size of remote file: 37.3 kB
images/abstract/abidin-dino_unknown-title-2.jpg ADDED

Git LFS Details

  • SHA256: 8af8148d021ca9a63c3169d5bd2d378fb19dcf5bfe08ddd6a2504e37c1f2ac5c
  • Pointer size: 130 Bytes
  • Size of remote file: 82.7 kB
images/abstract/abidin-dino_unknown-title-8.jpg ADDED

Git LFS Details

  • SHA256: 89a61094ebaffba3f03767d6032e38200db21e5cbc3ec5d171014fc8e002151c
  • Pointer size: 131 Bytes
  • Size of remote file: 112 kB
images/abstract/ad-reinhardt_abstract-painiting-1963.jpg ADDED

Git LFS Details

  • SHA256: fb5858e9e16171d5b961bcc47ec60d1411e88a0ac315870cbd7132b158253ab6
  • Pointer size: 130 Bytes
  • Size of remote file: 10.7 kB
images/abstract/ad-reinhardt_abstract-painting-1957.jpg ADDED

Git LFS Details

  • SHA256: 00cca7f231140be23fe9c08445866ffeeae2e67695c51b244310ad3313cc34b2
  • Pointer size: 129 Bytes
  • Size of remote file: 3.57 kB
images/abstract/ad-reinhardt_abstract-painting-1961.jpg ADDED

Git LFS Details

  • SHA256: 91b02660f4174506783c8c3119d08ce2933aa1a05918df261b125b70bfab0269
  • Pointer size: 129 Bytes
  • Size of remote file: 8.96 kB
images/abstract/ad-reinhardt_abstract-painting-1966-1.jpg ADDED

Git LFS Details

  • SHA256: c444115c16a40c4d315ac3cd22fb34e2a4086b39a75c84d528e289c4aadd162a
  • Pointer size: 130 Bytes
  • Size of remote file: 10.5 kB
images/abstract/ad-reinhardt_abstract-painting-1966.jpg ADDED

Git LFS Details

  • SHA256: 14238c2d0e40df6b682b75b79eb4663151b565f769ae63813fb07a0e5bfc5b03
  • Pointer size: 130 Bytes
  • Size of remote file: 16.7 kB
images/abstract/ad-reinhardt_abstract-painting-blue-1953-1.jpg ADDED

Git LFS Details

  • SHA256: 4609cc95f0731b9037495b24926e056e383a2e15a99dfc8e367bea8a50477a44
  • Pointer size: 130 Bytes
  • Size of remote file: 13.8 kB
images/abstract/ad-reinhardt_abstract-painting-blue-1953.jpg ADDED

Git LFS Details

  • SHA256: 90b288493c99cc7e78eaa4073af2a96a3f5d89d944a36ef7de9e45edffeb1561
  • Pointer size: 129 Bytes
  • Size of remote file: 5.96 kB
images/abstract/ad-reinhardt_abstract-painting-no-9-1966.jpg ADDED

Git LFS Details

  • SHA256: 074120868020499989ad83ce1a7979ac4ac8e05d6f588a78c1d1d19b4ff8730c
  • Pointer size: 129 Bytes
  • Size of remote file: 8.86 kB
images/abstract/ad-reinhardt_abstract-painting-red-1952.jpg ADDED

Git LFS Details

  • SHA256: b4ec7e5b9e37788a897d745c3aa7a5163d81c5be76a6c572b2a197550e86e46e
  • Pointer size: 129 Bytes
  • Size of remote file: 5.95 kB
images/abstract/ad-reinhardt_blue-painting-1953.jpg ADDED

Git LFS Details

  • SHA256: 6424f6cf9af0e4da6f5be2c98dcc9c7f898c4fef27fca852ba3b659c6bb5e14b
  • Pointer size: 130 Bytes
  • Size of remote file: 12.5 kB
images/abstract/ad-reinhardt_number-107-1950.jpg ADDED

Git LFS Details

  • SHA256: b7f5a18f6de59697c99644c65a7ab909a43c80e27889eae5ed2cebd7052004a3
  • Pointer size: 130 Bytes
  • Size of remote file: 11.7 kB
images/abstract/ad-reinhardt_number-22-1949.jpg ADDED

Git LFS Details

  • SHA256: c55ed5b4dd82daa2d90a9610bc9e7a4cf8d1fae77b24fd79e0bc1fd92970c6a4
  • Pointer size: 130 Bytes
  • Size of remote file: 38.1 kB
images/abstract/ad-reinhardt_number-43-abstract-painting-yellow-1947.jpg ADDED

Git LFS Details

  • SHA256: 67716b9b9c8cf0f22b8c002f4d72d679cd6b309601a6c1908b2ba2723c866871
  • Pointer size: 130 Bytes
  • Size of remote file: 61.1 kB
images/abstract/ad-reinhardt_number-6-1946.jpg ADDED

Git LFS Details

  • SHA256: 8622cad91bc17f3365d5043e895813a858e1f6fb466e9b2186389b4135d4ee86
  • Pointer size: 131 Bytes
  • Size of remote file: 120 kB
images/abstract/ad-reinhardt_painting-1958(4).jpg ADDED

Git LFS Details

  • SHA256: 2e5aaf74c7769c7b6636fa7165941a7682a76ac402c91e9e3416bc3529ba8d24
  • Pointer size: 130 Bytes
  • Size of remote file: 27.2 kB
images/abstract/ad-reinhardt_untitled-1954.jpg ADDED

Git LFS Details

  • SHA256: 3cbb922e12299b4668ec16ce53c91115211eea49cc111458568056a600d46688
  • Pointer size: 130 Bytes
  • Size of remote file: 15.3 kB
images/abstract/ad-reinhardt_untitled-1966.jpg ADDED

Git LFS Details

  • SHA256: 84d2fcc807dfdd31e45b0c4ada44ef9047760ecb3869a0fc7fe7610156b97284
  • Pointer size: 130 Bytes
  • Size of remote file: 23.1 kB
images/abstract/ad-reinhardt_untitled-6-1966.jpg ADDED

Git LFS Details

  • SHA256: 872c64a6c3a571d90785f64f1d9a42aa051a45de014e692bbdd624db1bb4f98b
  • Pointer size: 130 Bytes
  • Size of remote file: 27.7 kB
images/abstract/ad-reinhardt_untitled-from-the-portfolio-ten-works-x-ten-painters-1964.jpg ADDED

Git LFS Details

  • SHA256: 33ab10e25d94193e228adab2937483e72e31c577375752af1ed331153cc00928
  • Pointer size: 130 Bytes
  • Size of remote file: 11.4 kB
images/abstract/ad-reinhardt_yellow-painting-1949.jpg ADDED

Git LFS Details

  • SHA256: 558b71704c39f11c338d4532d65d2d768a22e421df6cebe15bf3ce6fc127704a
  • Pointer size: 130 Bytes
  • Size of remote file: 50.9 kB
images/abstract/adnan-coker_unknown-title(10).jpg ADDED

Git LFS Details

  • SHA256: e9ff33818e24101b6e914e4ac56c645b41d49b0b4de97cffd85db195b52b49ff
  • Pointer size: 130 Bytes
  • Size of remote file: 56.5 kB
images/abstract/adnan-coker_unknown-title(3).jpg ADDED

Git LFS Details

  • SHA256: ba9906bd2289266ad7d891917938d163516aa5feef84dc1fcdcb82aad79a3e77
  • Pointer size: 130 Bytes
  • Size of remote file: 58.6 kB
images/abstract/adnan-coker_untitled-1968.jpg ADDED

Git LFS Details

  • SHA256: 27a28d74f22467116ad617ac5cf48dca1ad4c23184403db59a56582414a2e19d
  • Pointer size: 130 Bytes
  • Size of remote file: 47.1 kB
images/abstract/afro_abstract-composition-1975.jpg ADDED

Git LFS Details

  • SHA256: 2a761f698108f0c813bf1ce60bb3dbcc672269cc0ac03a6e34e0dc4c7db50d80
  • Pointer size: 130 Bytes
  • Size of remote file: 69 kB
images/abstract/afro_controcanto-1974.jpg ADDED

Git LFS Details

  • SHA256: 13760ad614195bd0673184ca4dae12fa7c7116fb4f52aadeca90ea996cb6c8d6
  • Pointer size: 130 Bytes
  • Size of remote file: 30.7 kB
images/abstract/afro_feticcio.jpg ADDED

Git LFS Details

  • SHA256: 48501021e7fc24b8040e3c002eb2a5554d9cb8277efcd0c048b2cc46e02af799
  • Pointer size: 130 Bytes
  • Size of remote file: 41.5 kB