Datasets:
Convert dataset to Parquet (#1)
Browse files- Convert dataset to Parquet (89559e6d6403b4dfd372f45c1a39899032461cc3)
- Delete data file (0b48c5b9fae94ac9427dd76a9c193748360671b1)
- Delete loading script (ede1f4f69afd491a3d873c0d973b8df49ee68a3b)
- Delete data file (8bdf21369898d909dc6ee2597852e734fa02d76d)
- README.md +17 -10
- data/{test.zip → test-00000-of-00018.parquet} +2 -2
- data/{train.zip → test-00001-of-00018.parquet} +2 -2
- data/test-00002-of-00018.parquet +3 -0
- data/test-00003-of-00018.parquet +3 -0
- data/test-00004-of-00018.parquet +3 -0
- data/test-00005-of-00018.parquet +3 -0
- data/test-00006-of-00018.parquet +3 -0
- data/test-00007-of-00018.parquet +3 -0
- data/test-00008-of-00018.parquet +3 -0
- data/test-00009-of-00018.parquet +3 -0
- data/test-00010-of-00018.parquet +3 -0
- data/test-00011-of-00018.parquet +3 -0
- data/test-00012-of-00018.parquet +3 -0
- data/test-00013-of-00018.parquet +3 -0
- data/test-00014-of-00018.parquet +3 -0
- data/test-00015-of-00018.parquet +3 -0
- data/test-00016-of-00018.parquet +3 -0
- data/test-00017-of-00018.parquet +3 -0
- data/train-00000-of-00018.parquet +3 -0
- data/train-00001-of-00018.parquet +3 -0
- data/train-00002-of-00018.parquet +3 -0
- data/train-00003-of-00018.parquet +3 -0
- data/train-00004-of-00018.parquet +3 -0
- data/train-00005-of-00018.parquet +3 -0
- data/train-00006-of-00018.parquet +3 -0
- data/train-00007-of-00018.parquet +3 -0
- data/train-00008-of-00018.parquet +3 -0
- data/train-00009-of-00018.parquet +3 -0
- data/train-00010-of-00018.parquet +3 -0
- data/train-00011-of-00018.parquet +3 -0
- data/train-00012-of-00018.parquet +3 -0
- data/train-00013-of-00018.parquet +3 -0
- data/train-00014-of-00018.parquet +3 -0
- data/train-00015-of-00018.parquet +3 -0
- data/train-00016-of-00018.parquet +3 -0
- data/train-00017-of-00018.parquet +3 -0
- sun397.py +0 -438
README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: image
|
@@ -406,19 +412,20 @@ dataset_info:
|
|
406 |
'396': youth hostel
|
407 |
splits:
|
408 |
- name: train
|
409 |
-
num_bytes:
|
410 |
num_examples: 19850
|
411 |
- name: test
|
412 |
-
num_bytes:
|
413 |
num_examples: 19850
|
414 |
-
download_size:
|
415 |
-
dataset_size:
|
416 |
-
|
417 |
-
-
|
418 |
-
|
419 |
-
-
|
420 |
-
|
421 |
-
-
|
|
|
422 |
---
|
423 |
|
424 |
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
size_categories:
|
5 |
+
- 10K<n<100K
|
6 |
+
task_categories:
|
7 |
+
- image-classification
|
8 |
dataset_info:
|
9 |
features:
|
10 |
- name: image
|
|
|
412 |
'396': youth hostel
|
413 |
splits:
|
414 |
- name: train
|
415 |
+
num_bytes: 8834961188.3
|
416 |
num_examples: 19850
|
417 |
- name: test
|
418 |
+
num_bytes: 8610045383.95
|
419 |
num_examples: 19850
|
420 |
+
download_size: 14498373101
|
421 |
+
dataset_size: 17445006572.25
|
422 |
+
configs:
|
423 |
+
- config_name: default
|
424 |
+
data_files:
|
425 |
+
- split: train
|
426 |
+
path: data/train-*
|
427 |
+
- split: test
|
428 |
+
path: data/test-*
|
429 |
---
|
430 |
|
431 |
|
data/{test.zip → test-00000-of-00018.parquet}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47de9068bd1a58540504ab115292f8033059059548bc36ff6358abcb272fe11e
|
3 |
+
size 449842051
|
data/{train.zip → test-00001-of-00018.parquet}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26704c3070c37a36d2ab3d1144ddc9438579aec5846dba5f4a458f4403613dd7
|
3 |
+
size 364700334
|
data/test-00002-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad33ee7d30852f3cc93034604490769fbe4ca0fa75f39315dff141d71d8346d7
|
3 |
+
size 352550319
|
data/test-00003-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1314d5d1442bcca583a30d7eb88156b7195663a6903148d1e1c2355741908fa4
|
3 |
+
size 450752930
|
data/test-00004-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68e8b56bd66dd6b5cecb9e66447848c236fcd4e5954cd8dd31e73ce1af790eff
|
3 |
+
size 467457613
|
data/test-00005-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac353bf3ba772894f70492066f698c0a35e45aa402368083298d0f701267be75
|
3 |
+
size 409211767
|
data/test-00006-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e13f0e6cfb59a10c90ee3967b1c7c684d2f5c176d0d644d2da3ac8c18aa35302
|
3 |
+
size 463339920
|
data/test-00007-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb280f03ec89e49a5dee7af0fbced2192c46651929f88edd8d464e2d59bd6758
|
3 |
+
size 408453168
|
data/test-00008-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfcc47d4fac827f878f917ba998e13d7d69b5e9f3511db7b2ce143aca1bf6e67
|
3 |
+
size 365403873
|
data/test-00009-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7031306862330489c34fc992ddfd9f4d40542678fb0a3ccf40c7a2d918fb1db
|
3 |
+
size 396564758
|
data/test-00010-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68293f9c0fd7685370e948c95b8988fd71879815d97842d68312e0ddeb696fdf
|
3 |
+
size 380136381
|
data/test-00011-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9c81b4ee35aaa0697e1a6bf4ba7ef755582c924b1b96b87c722f3b694a0618b
|
3 |
+
size 360454507
|
data/test-00012-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3183d8acc5786740d7a662eab865cfc716901819dd749a8f6deaeeb4c68711a3
|
3 |
+
size 347502304
|
data/test-00013-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ceb134009bdcfda00cbb1bf5d4f175a1bec2aacdc9927f891924c4aa84da7ff8
|
3 |
+
size 388223765
|
data/test-00014-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed51e4ffe54ef134a1f120c9d6cbb68f255ca080350afbd60ff5d5b4e4220532
|
3 |
+
size 400754785
|
data/test-00015-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a062f44af8bb9e9310b6b32572b3191ed95524a975830e6a07f8915f2fd2905
|
3 |
+
size 425504304
|
data/test-00016-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b8fb2255d0c72c79a6941a341ea18028d1d90ad084fa847f1b11924433df231
|
3 |
+
size 423634113
|
data/test-00017-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed5885da6222f3ebd6de7b4be8fc5bb771a8381a6f1e916f6345aead564bac41
|
3 |
+
size 366234926
|
data/train-00000-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c214ca3eec639b36ce1a7c08c2911f97810879841afa3656ade7db9b72cd2fd
|
3 |
+
size 457638246
|
data/train-00001-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74969877419b627ca9be8447ab323c5d1ab5ab77322c80b1107dac57ee386c32
|
3 |
+
size 363635147
|
data/train-00002-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1a19c215514fe74142e0cc4d718d8a34b0291e3a0b6591c0fa68acad1981fde
|
3 |
+
size 366923194
|
data/train-00003-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2bd93ab08994949f6fc27447c199735ab87c4bbb3a188ad47a77a06d1b13d36
|
3 |
+
size 432740479
|
data/train-00004-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb5fd6c1d7ff837761fd7c9fdc18b44f1fbf4a467e7bc5f0f166fa872901af54
|
3 |
+
size 440068650
|
data/train-00005-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4891adcecf0e3a1155219eca5d39acd1f026d1e2cbb0debb6494230f7239c72d
|
3 |
+
size 476088313
|
data/train-00006-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbbcee611a960c0069949a1f93cbe275c9616cf7355e7c27ae128abb5c35288b
|
3 |
+
size 440307550
|
data/train-00007-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20cf765cca63571fe2dbec9478cf8a9d91536a922deb4ba7a96cf2388f32c248
|
3 |
+
size 355890791
|
data/train-00008-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f93675fd303fec5c11edabd63d762f47b5caf79b506abaf908424080cd0b0e2c
|
3 |
+
size 394273068
|
data/train-00009-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c5b4af2318acfe83631d00ca8c626347ee0ecf06db210168cabdd6dc409a8d4
|
3 |
+
size 379884391
|
data/train-00010-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e5c83aae3d38c1210fac51f8b205790bdb721536f9d8b686a9242ab7edeed6e
|
3 |
+
size 345901885
|
data/train-00011-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3c30fa57d7f24b8300ed36cae44d3c682ed7404b17f689c2d98ff4424ecccac
|
3 |
+
size 377408397
|
data/train-00012-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f6288a696e7a22bd883543f3d80b7b3eb758d726056434bced18e023c6b8099
|
3 |
+
size 386785922
|
data/train-00013-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d5e03d2d7257ac1f27dcc3d5fc2098fc9abebac46c08ca14c6146f04c35d4fe
|
3 |
+
size 416579620
|
data/train-00014-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84f7de4e72a4ea0f8587816ac9d913a6ad8fc8ecb6f055745270f6b96efa9b28
|
3 |
+
size 393525443
|
data/train-00015-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:765e4a0a5a4d243b828aea1bca514d346980c5ac253d685007090c107e650e16
|
3 |
+
size 413374270
|
data/train-00016-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d10e85418cd425a9c14e5e5f14cf913d3118c5191af218c5f90f3637e1df56b
|
3 |
+
size 379846308
|
data/train-00017-of-00018.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:146705a0179e8db26538f12ea36ee087cbdc376acc46af5b66431886c296db42
|
3 |
+
size 456779609
|
sun397.py
DELETED
@@ -1,438 +0,0 @@
|
|
1 |
-
import datasets
|
2 |
-
from datasets.data_files import DataFilesDict
|
3 |
-
from datasets.packaged_modules.imagefolder.imagefolder import ImageFolder, ImageFolderConfig
|
4 |
-
|
5 |
-
logger = datasets.logging.get_logger(__name__)
|
6 |
-
|
7 |
-
|
8 |
-
class SUN397(ImageFolder):
|
9 |
-
R"""
|
10 |
-
SUN397 dataset for image classification.
|
11 |
-
"""
|
12 |
-
|
13 |
-
BUILDER_CONFIG_CLASS = ImageFolderConfig
|
14 |
-
BUILDER_CONFIGS = [
|
15 |
-
ImageFolderConfig(
|
16 |
-
name="default",
|
17 |
-
features=("images", "labels"),
|
18 |
-
data_files=DataFilesDict({split: f"data/{split}.zip" for split in ["train", "test"]}),
|
19 |
-
)
|
20 |
-
]
|
21 |
-
|
22 |
-
classnames = [
|
23 |
-
"abbey",
|
24 |
-
"airplane cabin",
|
25 |
-
"airport terminal",
|
26 |
-
"alley",
|
27 |
-
"amphitheater",
|
28 |
-
"amusement arcade",
|
29 |
-
"amusement park",
|
30 |
-
"anechoic chamber",
|
31 |
-
"apartment building outdoor",
|
32 |
-
"apse indoor",
|
33 |
-
"aquarium",
|
34 |
-
"aqueduct",
|
35 |
-
"arch",
|
36 |
-
"archive",
|
37 |
-
"arrival gate outdoor",
|
38 |
-
"art gallery",
|
39 |
-
"art school",
|
40 |
-
"art studio",
|
41 |
-
"assembly line",
|
42 |
-
"athletic field outdoor",
|
43 |
-
"atrium public",
|
44 |
-
"attic",
|
45 |
-
"auditorium",
|
46 |
-
"auto factory",
|
47 |
-
"badlands",
|
48 |
-
"badminton court indoor",
|
49 |
-
"baggage claim",
|
50 |
-
"bakery shop",
|
51 |
-
"balcony exterior",
|
52 |
-
"balcony interior",
|
53 |
-
"ball pit",
|
54 |
-
"ballroom",
|
55 |
-
"bamboo forest",
|
56 |
-
"banquet hall",
|
57 |
-
"bar",
|
58 |
-
"barn",
|
59 |
-
"barndoor",
|
60 |
-
"baseball field",
|
61 |
-
"basement",
|
62 |
-
"basilica",
|
63 |
-
"basketball court outdoor",
|
64 |
-
"bathroom",
|
65 |
-
"batters box",
|
66 |
-
"bayou",
|
67 |
-
"bazaar indoor",
|
68 |
-
"bazaar outdoor",
|
69 |
-
"beach",
|
70 |
-
"beauty salon",
|
71 |
-
"bedroom",
|
72 |
-
"berth",
|
73 |
-
"biology laboratory",
|
74 |
-
"bistro indoor",
|
75 |
-
"boardwalk",
|
76 |
-
"boat deck",
|
77 |
-
"boathouse",
|
78 |
-
"bookstore",
|
79 |
-
"booth indoor",
|
80 |
-
"botanical garden",
|
81 |
-
"bow window indoor",
|
82 |
-
"bow window outdoor",
|
83 |
-
"bowling alley",
|
84 |
-
"boxing ring",
|
85 |
-
"brewery indoor",
|
86 |
-
"bridge",
|
87 |
-
"building facade",
|
88 |
-
"bullring",
|
89 |
-
"burial chamber",
|
90 |
-
"bus interior",
|
91 |
-
"butchers shop",
|
92 |
-
"butte",
|
93 |
-
"cabin outdoor",
|
94 |
-
"cafeteria",
|
95 |
-
"campsite",
|
96 |
-
"campus",
|
97 |
-
"canal natural",
|
98 |
-
"canal urban",
|
99 |
-
"candy store",
|
100 |
-
"canyon",
|
101 |
-
"car interior backseat",
|
102 |
-
"car interior frontseat",
|
103 |
-
"carrousel",
|
104 |
-
"casino indoor",
|
105 |
-
"castle",
|
106 |
-
"catacomb",
|
107 |
-
"cathedral indoor",
|
108 |
-
"cathedral outdoor",
|
109 |
-
"cavern indoor",
|
110 |
-
"cemetery",
|
111 |
-
"chalet",
|
112 |
-
"cheese factory",
|
113 |
-
"chemistry lab",
|
114 |
-
"chicken coop indoor",
|
115 |
-
"chicken coop outdoor",
|
116 |
-
"childs room",
|
117 |
-
"church indoor",
|
118 |
-
"church outdoor",
|
119 |
-
"classroom",
|
120 |
-
"clean room",
|
121 |
-
"cliff",
|
122 |
-
"cloister indoor",
|
123 |
-
"closet",
|
124 |
-
"clothing store",
|
125 |
-
"coast",
|
126 |
-
"cockpit",
|
127 |
-
"coffee shop",
|
128 |
-
"computer room",
|
129 |
-
"conference center",
|
130 |
-
"conference room",
|
131 |
-
"construction site",
|
132 |
-
"control room",
|
133 |
-
"control tower outdoor",
|
134 |
-
"corn field",
|
135 |
-
"corral",
|
136 |
-
"corridor",
|
137 |
-
"cottage garden",
|
138 |
-
"courthouse",
|
139 |
-
"courtroom",
|
140 |
-
"courtyard",
|
141 |
-
"covered bridge exterior",
|
142 |
-
"creek",
|
143 |
-
"crevasse",
|
144 |
-
"crosswalk",
|
145 |
-
"cubicle office",
|
146 |
-
"dam",
|
147 |
-
"delicatessen",
|
148 |
-
"dentists office",
|
149 |
-
"desert sand",
|
150 |
-
"desert vegetation",
|
151 |
-
"diner indoor",
|
152 |
-
"diner outdoor",
|
153 |
-
"dinette home",
|
154 |
-
"dinette vehicle",
|
155 |
-
"dining car",
|
156 |
-
"dining room",
|
157 |
-
"discotheque",
|
158 |
-
"dock",
|
159 |
-
"doorway outdoor",
|
160 |
-
"dorm room",
|
161 |
-
"driveway",
|
162 |
-
"driving range outdoor",
|
163 |
-
"drugstore",
|
164 |
-
"electrical substation",
|
165 |
-
"elevator door",
|
166 |
-
"elevator interior",
|
167 |
-
"elevator shaft",
|
168 |
-
"engine room",
|
169 |
-
"escalator indoor",
|
170 |
-
"excavation",
|
171 |
-
"factory indoor",
|
172 |
-
"fairway",
|
173 |
-
"fastfood restaurant",
|
174 |
-
"field cultivated",
|
175 |
-
"field wild",
|
176 |
-
"fire escape",
|
177 |
-
"fire station",
|
178 |
-
"firing range indoor",
|
179 |
-
"fishpond",
|
180 |
-
"florist shop indoor",
|
181 |
-
"food court",
|
182 |
-
"forest broadleaf",
|
183 |
-
"forest needleleaf",
|
184 |
-
"forest path",
|
185 |
-
"forest road",
|
186 |
-
"formal garden",
|
187 |
-
"fountain",
|
188 |
-
"galley",
|
189 |
-
"game room",
|
190 |
-
"garage indoor",
|
191 |
-
"garbage dump",
|
192 |
-
"gas station",
|
193 |
-
"gazebo exterior",
|
194 |
-
"general store indoor",
|
195 |
-
"general store outdoor",
|
196 |
-
"gift shop",
|
197 |
-
"golf course",
|
198 |
-
"greenhouse indoor",
|
199 |
-
"greenhouse outdoor",
|
200 |
-
"gymnasium indoor",
|
201 |
-
"hangar indoor",
|
202 |
-
"hangar outdoor",
|
203 |
-
"harbor",
|
204 |
-
"hayfield",
|
205 |
-
"heliport",
|
206 |
-
"herb garden",
|
207 |
-
"highway",
|
208 |
-
"hill",
|
209 |
-
"home office",
|
210 |
-
"hospital",
|
211 |
-
"hospital room",
|
212 |
-
"hot spring",
|
213 |
-
"hot tub outdoor",
|
214 |
-
"hotel outdoor",
|
215 |
-
"hotel room",
|
216 |
-
"house",
|
217 |
-
"hunting lodge outdoor",
|
218 |
-
"ice cream parlor",
|
219 |
-
"ice floe",
|
220 |
-
"ice shelf",
|
221 |
-
"ice skating rink indoor",
|
222 |
-
"ice skating rink outdoor",
|
223 |
-
"iceberg",
|
224 |
-
"igloo",
|
225 |
-
"industrial area",
|
226 |
-
"inn outdoor",
|
227 |
-
"islet",
|
228 |
-
"jacuzzi indoor",
|
229 |
-
"jail cell",
|
230 |
-
"jail indoor",
|
231 |
-
"jewelry shop",
|
232 |
-
"kasbah",
|
233 |
-
"kennel indoor",
|
234 |
-
"kennel outdoor",
|
235 |
-
"kindergarden classroom",
|
236 |
-
"kitchen",
|
237 |
-
"kitchenette",
|
238 |
-
"labyrinth outdoor",
|
239 |
-
"lake natural",
|
240 |
-
"landfill",
|
241 |
-
"landing deck",
|
242 |
-
"laundromat",
|
243 |
-
"lecture room",
|
244 |
-
"library indoor",
|
245 |
-
"library outdoor",
|
246 |
-
"lido deck outdoor",
|
247 |
-
"lift bridge",
|
248 |
-
"lighthouse",
|
249 |
-
"limousine interior",
|
250 |
-
"living room",
|
251 |
-
"lobby",
|
252 |
-
"lock chamber",
|
253 |
-
"locker room",
|
254 |
-
"mansion",
|
255 |
-
"manufactured home",
|
256 |
-
"market indoor",
|
257 |
-
"market outdoor",
|
258 |
-
"marsh",
|
259 |
-
"martial arts gym",
|
260 |
-
"mausoleum",
|
261 |
-
"medina",
|
262 |
-
"moat water",
|
263 |
-
"monastery outdoor",
|
264 |
-
"mosque indoor",
|
265 |
-
"mosque outdoor",
|
266 |
-
"motel",
|
267 |
-
"mountain",
|
268 |
-
"mountain snowy",
|
269 |
-
"movie theater indoor",
|
270 |
-
"museum indoor",
|
271 |
-
"music store",
|
272 |
-
"music studio",
|
273 |
-
"nuclear power plant outdoor",
|
274 |
-
"nursery",
|
275 |
-
"oast house",
|
276 |
-
"observatory outdoor",
|
277 |
-
"ocean",
|
278 |
-
"office",
|
279 |
-
"office building",
|
280 |
-
"oil refinery outdoor",
|
281 |
-
"oilrig",
|
282 |
-
"operating room",
|
283 |
-
"orchard",
|
284 |
-
"outhouse outdoor",
|
285 |
-
"pagoda",
|
286 |
-
"palace",
|
287 |
-
"pantry",
|
288 |
-
"park",
|
289 |
-
"parking garage indoor",
|
290 |
-
"parking garage outdoor",
|
291 |
-
"parking lot",
|
292 |
-
"parlor",
|
293 |
-
"pasture",
|
294 |
-
"patio",
|
295 |
-
"pavilion",
|
296 |
-
"pharmacy",
|
297 |
-
"phone booth",
|
298 |
-
"physics laboratory",
|
299 |
-
"picnic area",
|
300 |
-
"pilothouse indoor",
|
301 |
-
"planetarium outdoor",
|
302 |
-
"playground",
|
303 |
-
"playroom",
|
304 |
-
"plaza",
|
305 |
-
"podium indoor",
|
306 |
-
"podium outdoor",
|
307 |
-
"pond",
|
308 |
-
"poolroom establishment",
|
309 |
-
"poolroom home",
|
310 |
-
"power plant outdoor",
|
311 |
-
"promenade deck",
|
312 |
-
"pub indoor",
|
313 |
-
"pulpit",
|
314 |
-
"putting green",
|
315 |
-
"racecourse",
|
316 |
-
"raceway",
|
317 |
-
"raft",
|
318 |
-
"railroad track",
|
319 |
-
"rainforest",
|
320 |
-
"reception",
|
321 |
-
"recreation room",
|
322 |
-
"residential neighborhood",
|
323 |
-
"restaurant",
|
324 |
-
"restaurant kitchen",
|
325 |
-
"restaurant patio",
|
326 |
-
"rice paddy",
|
327 |
-
"riding arena",
|
328 |
-
"river",
|
329 |
-
"rock arch",
|
330 |
-
"rope bridge",
|
331 |
-
"ruin",
|
332 |
-
"runway",
|
333 |
-
"sandbar",
|
334 |
-
"sandbox",
|
335 |
-
"sauna",
|
336 |
-
"schoolhouse",
|
337 |
-
"sea cliff",
|
338 |
-
"server room",
|
339 |
-
"shed",
|
340 |
-
"shoe shop",
|
341 |
-
"shopfront",
|
342 |
-
"shopping mall indoor",
|
343 |
-
"shower",
|
344 |
-
"skatepark",
|
345 |
-
"ski lodge",
|
346 |
-
"ski resort",
|
347 |
-
"ski slope",
|
348 |
-
"sky",
|
349 |
-
"skyscraper",
|
350 |
-
"slum",
|
351 |
-
"snowfield",
|
352 |
-
"squash court",
|
353 |
-
"stable",
|
354 |
-
"stadium baseball",
|
355 |
-
"stadium football",
|
356 |
-
"stage indoor",
|
357 |
-
"staircase",
|
358 |
-
"street",
|
359 |
-
"subway interior",
|
360 |
-
"subway station platform",
|
361 |
-
"supermarket",
|
362 |
-
"sushi bar",
|
363 |
-
"swamp",
|
364 |
-
"swimming pool indoor",
|
365 |
-
"swimming pool outdoor",
|
366 |
-
"synagogue indoor",
|
367 |
-
"synagogue outdoor",
|
368 |
-
"television studio",
|
369 |
-
"temple east asia",
|
370 |
-
"temple south asia",
|
371 |
-
"tennis court indoor",
|
372 |
-
"tennis court outdoor",
|
373 |
-
"tent outdoor",
|
374 |
-
"theater indoor procenium",
|
375 |
-
"theater indoor seats",
|
376 |
-
"thriftshop",
|
377 |
-
"throne room",
|
378 |
-
"ticket booth",
|
379 |
-
"toll plaza",
|
380 |
-
"topiary garden",
|
381 |
-
"tower",
|
382 |
-
"toyshop",
|
383 |
-
"track outdoor",
|
384 |
-
"train railway",
|
385 |
-
"train station platform",
|
386 |
-
"tree farm",
|
387 |
-
"tree house",
|
388 |
-
"trench",
|
389 |
-
"underwater coral reef",
|
390 |
-
"utility room",
|
391 |
-
"valley",
|
392 |
-
"van interior",
|
393 |
-
"vegetable garden",
|
394 |
-
"veranda",
|
395 |
-
"veterinarians office",
|
396 |
-
"viaduct",
|
397 |
-
"videostore",
|
398 |
-
"village",
|
399 |
-
"vineyard",
|
400 |
-
"volcano",
|
401 |
-
"volleyball court indoor",
|
402 |
-
"volleyball court outdoor",
|
403 |
-
"waiting room",
|
404 |
-
"warehouse indoor",
|
405 |
-
"water tower",
|
406 |
-
"waterfall block",
|
407 |
-
"waterfall fan",
|
408 |
-
"waterfall plunge",
|
409 |
-
"watering hole",
|
410 |
-
"wave",
|
411 |
-
"wet bar",
|
412 |
-
"wheat field",
|
413 |
-
"wind farm",
|
414 |
-
"windmill",
|
415 |
-
"wine cellar barrel storage",
|
416 |
-
"wine cellar bottle storage",
|
417 |
-
"wrestling ring indoor",
|
418 |
-
"yard",
|
419 |
-
"youth hostel",
|
420 |
-
]
|
421 |
-
|
422 |
-
clip_templates = [
|
423 |
-
lambda c: f"a photo of a {c}.",
|
424 |
-
lambda c: f"a photo of the {c}.",
|
425 |
-
]
|
426 |
-
|
427 |
-
def _info(self):
|
428 |
-
return datasets.DatasetInfo(
|
429 |
-
description="SUN397 dataset for image classification.",
|
430 |
-
features=datasets.Features(
|
431 |
-
{
|
432 |
-
"image": datasets.Image(),
|
433 |
-
"label": datasets.ClassLabel(names=self.classnames),
|
434 |
-
}
|
435 |
-
),
|
436 |
-
supervised_keys=("image", "label"),
|
437 |
-
task_templates=[datasets.ImageClassification(image_column="image", label_column="label")],
|
438 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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