Datasets:
Convert dataset to Parquet
#1
by
tanganke
- opened
- README.md +38 -17
- data/{contrast.zip → contrast-00000-of-00001.parquet} +2 -2
- data/{gaussian_noise.zip → gaussian_noise-00000-of-00002.parquet} +2 -2
- data/{motion_blur.zip → gaussian_noise-00001-of-00002.parquet} +2 -2
- data/{jpeg_compression.zip → impulse_noise-00000-of-00002.parquet} +2 -2
- data/impulse_noise-00001-of-00002.parquet +3 -0
- data/impulse_noise.zip +0 -3
- data/jpeg_compression-00000-of-00001.parquet +3 -0
- data/motion_blur-00000-of-00001.parquet +3 -0
- data/{pixelate.zip → pixelate-00000-of-00001.parquet} +2 -2
- data/spatter-00000-of-00002.parquet +3 -0
- data/spatter-00001-of-00002.parquet +3 -0
- data/spatter.zip +0 -3
- data/test-00000-of-00002.parquet +3 -0
- data/test-00001-of-00002.parquet +3 -0
- data/test.zip +0 -3
- data/train-00000-of-00002.parquet +3 -0
- data/train-00001-of-00002.parquet +3 -0
- data/train.zip +0 -3
- stanford_cars.py +0 -249
README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: image
|
@@ -205,40 +211,55 @@ dataset_info:
|
|
205 |
'195': smart fortwo Convertible 2012
|
206 |
splits:
|
207 |
- name: train
|
208 |
-
num_bytes:
|
209 |
num_examples: 8144
|
210 |
- name: test
|
211 |
-
num_bytes:
|
212 |
num_examples: 8041
|
213 |
- name: contrast
|
214 |
-
num_bytes:
|
215 |
num_examples: 8041
|
216 |
- name: gaussian_noise
|
217 |
-
num_bytes:
|
218 |
num_examples: 8041
|
219 |
- name: impulse_noise
|
220 |
-
num_bytes:
|
221 |
num_examples: 8041
|
222 |
- name: jpeg_compression
|
223 |
-
num_bytes:
|
224 |
num_examples: 8041
|
225 |
- name: motion_blur
|
226 |
-
num_bytes:
|
227 |
num_examples: 8041
|
228 |
- name: pixelate
|
229 |
-
num_bytes:
|
230 |
num_examples: 8041
|
231 |
- name: spatter
|
232 |
-
num_bytes:
|
233 |
num_examples: 8041
|
234 |
-
download_size:
|
235 |
-
dataset_size:
|
236 |
-
|
237 |
-
-
|
238 |
-
|
239 |
-
-
|
240 |
-
|
241 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
---
|
243 |
|
244 |
# Stanford Cars Dataset
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
size_categories:
|
5 |
+
- 100K<n<1M
|
6 |
+
task_categories:
|
7 |
+
- image-classification
|
8 |
dataset_info:
|
9 |
features:
|
10 |
- name: image
|
|
|
211 |
'195': smart fortwo Convertible 2012
|
212 |
splits:
|
213 |
- name: train
|
214 |
+
num_bytes: 836228485.28
|
215 |
num_examples: 8144
|
216 |
- name: test
|
217 |
+
num_bytes: 820916696.759
|
218 |
num_examples: 8041
|
219 |
- name: contrast
|
220 |
+
num_bytes: 294933529.863
|
221 |
num_examples: 8041
|
222 |
- name: gaussian_noise
|
223 |
+
num_bytes: 788128272.904
|
224 |
num_examples: 8041
|
225 |
- name: impulse_noise
|
226 |
+
num_bytes: 906353753.057
|
227 |
num_examples: 8041
|
228 |
- name: jpeg_compression
|
229 |
+
num_bytes: 394863676.52
|
230 |
num_examples: 8041
|
231 |
- name: motion_blur
|
232 |
+
num_bytes: 372390215.301
|
233 |
num_examples: 8041
|
234 |
- name: pixelate
|
235 |
+
num_bytes: 7894555.938
|
236 |
num_examples: 8041
|
237 |
- name: spatter
|
238 |
+
num_bytes: 692942284.083
|
239 |
num_examples: 8041
|
240 |
+
download_size: 6016497364
|
241 |
+
dataset_size: 5114651469.705
|
242 |
+
configs:
|
243 |
+
- config_name: default
|
244 |
+
data_files:
|
245 |
+
- split: train
|
246 |
+
path: data/train-*
|
247 |
+
- split: test
|
248 |
+
path: data/test-*
|
249 |
+
- split: contrast
|
250 |
+
path: data/contrast-*
|
251 |
+
- split: gaussian_noise
|
252 |
+
path: data/gaussian_noise-*
|
253 |
+
- split: impulse_noise
|
254 |
+
path: data/impulse_noise-*
|
255 |
+
- split: jpeg_compression
|
256 |
+
path: data/jpeg_compression-*
|
257 |
+
- split: motion_blur
|
258 |
+
path: data/motion_blur-*
|
259 |
+
- split: pixelate
|
260 |
+
path: data/pixelate-*
|
261 |
+
- split: spatter
|
262 |
+
path: data/spatter-*
|
263 |
---
|
264 |
|
265 |
# Stanford Cars Dataset
|
data/{contrast.zip → contrast-00000-of-00001.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:4364212f9d0851ae7694ecea7ea0e2d49f4c756c18a66a4bee19e489a7dda32b
|
3 |
+
size 347064733
|
data/{gaussian_noise.zip → gaussian_noise-00000-of-00002.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:64d53821269139dc6d1a398ee051dd1b376ccb41c152e7cb0d158f48f96654ec
|
3 |
+
size 474635876
|
data/{motion_blur.zip → gaussian_noise-00001-of-00002.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:5f0f20b2159da2626eebef698a9a36e014706adb3ffd5d49d02c43516c099bd9
|
3 |
+
size 450347240
|
data/{jpeg_compression.zip → impulse_noise-00000-of-00002.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:3ce6e0bb02663c472e3588dbfc1d44a81c564fd63c4c2a14491210469a372d01
|
3 |
+
size 543141268
|
data/impulse_noise-00001-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43dac0c5c88ef211cf6844fa91451fdcdbee580f00081e86d1c536ccf4442be8
|
3 |
+
size 512651928
|
data/impulse_noise.zip
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ed5e80478e44fa8b5ca6016ca8a3155a2507127929c6fa06ffc2e71bd104cc62
|
3 |
-
size 1049045920
|
|
|
|
|
|
|
|
data/jpeg_compression-00000-of-00001.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9fb4281617336957285e4b5b93bafdaaad02b32da3a7f06c5e7612b622a1fcd7
|
3 |
+
size 467316299
|
data/motion_blur-00000-of-00001.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed12d7590981517b8c079b565419a023e554938b911ed65b0a424c13eb536976
|
3 |
+
size 434811562
|
data/{pixelate.zip → pixelate-00000-of-00001.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:8ce415bc83e398dee07d9afe441f1529659af90ba66fdd35f281f587181faf65
|
3 |
+
size 3741633
|
data/spatter-00000-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9fe2670c2c6f7dea17d4ae747fd6ecd6d050056491c261ac62523ceec05fa754
|
3 |
+
size 416698359
|
data/spatter-00001-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5cf41026b4a6e50cdc9fff933503ea0b6977e8054116e577990edd1d83d9d52
|
3 |
+
size 390536645
|
data/spatter.zip
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f4c97978d1fab550be204866d4f7595e3fd278e615f9a74171d0c5a88ebbdb08
|
3 |
-
size 804540937
|
|
|
|
|
|
|
|
data/test-00000-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddb15e6a44573203cc1be170be2f05d1e34b22532d37579a6d53cfd05c21485a
|
3 |
+
size 513268211
|
data/test-00001-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22c54046e4beaeb01d4a6daa72a39c5af50feda6850dbf2b0f784cabf865ccaa
|
3 |
+
size 473601440
|
data/test.zip
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:56f3ecdfda5110029362e6f0a6a370e46643df020f0bc305ab8592b4c98bc9fb
|
3 |
-
size 977997280
|
|
|
|
|
|
|
|
data/train-00000-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b35f21fdeda40973f3b3e1d17bd7a0d2baf8ef249777fc0a0ea7c33c63fa718e
|
3 |
+
size 503707028
|
data/train-00001-of-00002.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8fc512aac709672c09f17a1b5ee7ae47585894ca52be753cd4e3af726fdef77
|
3 |
+
size 484975142
|
data/train.zip
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5ef52f6bb750d31df9205b49d3a36570c8f723ad3d605e30941d0eb937ddcfab
|
3 |
-
size 979944835
|
|
|
|
|
|
|
|
stanford_cars.py
DELETED
@@ -1,249 +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 StanfordCars(ImageFolder):
|
9 |
-
R"""
|
10 |
-
StanfordCars 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(
|
19 |
-
{
|
20 |
-
split: f"data/{split}.zip"
|
21 |
-
for split in ["train", "test"]
|
22 |
-
+ ["contrast", "gaussian_noise", "impulse_noise", "jpeg_compression", "motion_blur", "pixelate", "spatter"]
|
23 |
-
}
|
24 |
-
),
|
25 |
-
)
|
26 |
-
]
|
27 |
-
|
28 |
-
classnames = [
|
29 |
-
"AM General Hummer SUV 2000",
|
30 |
-
"Acura RL Sedan 2012",
|
31 |
-
"Acura TL Sedan 2012",
|
32 |
-
"Acura TL Type-S 2008",
|
33 |
-
"Acura TSX Sedan 2012",
|
34 |
-
"Acura Integra Type R 2001",
|
35 |
-
"Acura ZDX Hatchback 2012",
|
36 |
-
"Aston Martin V8 Vantage Convertible 2012",
|
37 |
-
"Aston Martin V8 Vantage Coupe 2012",
|
38 |
-
"Aston Martin Virage Convertible 2012",
|
39 |
-
"Aston Martin Virage Coupe 2012",
|
40 |
-
"Audi RS 4 Convertible 2008",
|
41 |
-
"Audi A5 Coupe 2012",
|
42 |
-
"Audi TTS Coupe 2012",
|
43 |
-
"Audi R8 Coupe 2012",
|
44 |
-
"Audi V8 Sedan 1994",
|
45 |
-
"Audi 100 Sedan 1994",
|
46 |
-
"Audi 100 Wagon 1994",
|
47 |
-
"Audi TT Hatchback 2011",
|
48 |
-
"Audi S6 Sedan 2011",
|
49 |
-
"Audi S5 Convertible 2012",
|
50 |
-
"Audi S5 Coupe 2012",
|
51 |
-
"Audi S4 Sedan 2012",
|
52 |
-
"Audi S4 Sedan 2007",
|
53 |
-
"Audi TT RS Coupe 2012",
|
54 |
-
"BMW ActiveHybrid 5 Sedan 2012",
|
55 |
-
"BMW 1 Series Convertible 2012",
|
56 |
-
"BMW 1 Series Coupe 2012",
|
57 |
-
"BMW 3 Series Sedan 2012",
|
58 |
-
"BMW 3 Series Wagon 2012",
|
59 |
-
"BMW 6 Series Convertible 2007",
|
60 |
-
"BMW X5 SUV 2007",
|
61 |
-
"BMW X6 SUV 2012",
|
62 |
-
"BMW M3 Coupe 2012",
|
63 |
-
"BMW M5 Sedan 2010",
|
64 |
-
"BMW M6 Convertible 2010",
|
65 |
-
"BMW X3 SUV 2012",
|
66 |
-
"BMW Z4 Convertible 2012",
|
67 |
-
"Bentley Continental Supersports Conv. Convertible 2012",
|
68 |
-
"Bentley Arnage Sedan 2009",
|
69 |
-
"Bentley Mulsanne Sedan 2011",
|
70 |
-
"Bentley Continental GT Coupe 2012",
|
71 |
-
"Bentley Continental GT Coupe 2007",
|
72 |
-
"Bentley Continental Flying Spur Sedan 2007",
|
73 |
-
"Bugatti Veyron 16.4 Convertible 2009",
|
74 |
-
"Bugatti Veyron 16.4 Coupe 2009",
|
75 |
-
"Buick Regal GS 2012",
|
76 |
-
"Buick Rainier SUV 2007",
|
77 |
-
"Buick Verano Sedan 2012",
|
78 |
-
"Buick Enclave SUV 2012",
|
79 |
-
"Cadillac CTS-V Sedan 2012",
|
80 |
-
"Cadillac SRX SUV 2012",
|
81 |
-
"Cadillac Escalade EXT Crew Cab 2007",
|
82 |
-
"Chevrolet Silverado 1500 Hybrid Crew Cab 2012",
|
83 |
-
"Chevrolet Corvette Convertible 2012",
|
84 |
-
"Chevrolet Corvette ZR1 2012",
|
85 |
-
"Chevrolet Corvette Ron Fellows Edition Z06 2007",
|
86 |
-
"Chevrolet Traverse SUV 2012",
|
87 |
-
"Chevrolet Camaro Convertible 2012",
|
88 |
-
"Chevrolet HHR SS 2010",
|
89 |
-
"Chevrolet Impala Sedan 2007",
|
90 |
-
"Chevrolet Tahoe Hybrid SUV 2012",
|
91 |
-
"Chevrolet Sonic Sedan 2012",
|
92 |
-
"Chevrolet Express Cargo Van 2007",
|
93 |
-
"Chevrolet Avalanche Crew Cab 2012",
|
94 |
-
"Chevrolet Cobalt SS 2010",
|
95 |
-
"Chevrolet Malibu Hybrid Sedan 2010",
|
96 |
-
"Chevrolet TrailBlazer SS 2009",
|
97 |
-
"Chevrolet Silverado 2500HD Regular Cab 2012",
|
98 |
-
"Chevrolet Silverado 1500 Classic Extended Cab 2007",
|
99 |
-
"Chevrolet Express Van 2007",
|
100 |
-
"Chevrolet Monte Carlo Coupe 2007",
|
101 |
-
"Chevrolet Malibu Sedan 2007",
|
102 |
-
"Chevrolet Silverado 1500 Extended Cab 2012",
|
103 |
-
"Chevrolet Silverado 1500 Regular Cab 2012",
|
104 |
-
"Chrysler Aspen SUV 2009",
|
105 |
-
"Chrysler Sebring Convertible 2010",
|
106 |
-
"Chrysler Town and Country Minivan 2012",
|
107 |
-
"Chrysler 300 SRT-8 2010",
|
108 |
-
"Chrysler Crossfire Convertible 2008",
|
109 |
-
"Chrysler PT Cruiser Convertible 2008",
|
110 |
-
"Daewoo Nubira Wagon 2002",
|
111 |
-
"Dodge Caliber Wagon 2012",
|
112 |
-
"Dodge Caliber Wagon 2007",
|
113 |
-
"Dodge Caravan Minivan 1997",
|
114 |
-
"Dodge Ram Pickup 3500 Crew Cab 2010",
|
115 |
-
"Dodge Ram Pickup 3500 Quad Cab 2009",
|
116 |
-
"Dodge Sprinter Cargo Van 2009",
|
117 |
-
"Dodge Journey SUV 2012",
|
118 |
-
"Dodge Dakota Crew Cab 2010",
|
119 |
-
"Dodge Dakota Club Cab 2007",
|
120 |
-
"Dodge Magnum Wagon 2008",
|
121 |
-
"Dodge Challenger SRT8 2011",
|
122 |
-
"Dodge Durango SUV 2012",
|
123 |
-
"Dodge Durango SUV 2007",
|
124 |
-
"Dodge Charger Sedan 2012",
|
125 |
-
"Dodge Charger SRT-8 2009",
|
126 |
-
"Eagle Talon Hatchback 1998",
|
127 |
-
"FIAT 500 Abarth 2012",
|
128 |
-
"FIAT 500 Convertible 2012",
|
129 |
-
"Ferrari FF Coupe 2012",
|
130 |
-
"Ferrari California Convertible 2012",
|
131 |
-
"Ferrari 458 Italia Convertible 2012",
|
132 |
-
"Ferrari 458 Italia Coupe 2012",
|
133 |
-
"Fisker Karma Sedan 2012",
|
134 |
-
"Ford F-450 Super Duty Crew Cab 2012",
|
135 |
-
"Ford Mustang Convertible 2007",
|
136 |
-
"Ford Freestar Minivan 2007",
|
137 |
-
"Ford Expedition EL SUV 2009",
|
138 |
-
"Ford Edge SUV 2012",
|
139 |
-
"Ford Ranger SuperCab 2011",
|
140 |
-
"Ford GT Coupe 2006",
|
141 |
-
"Ford F-150 Regular Cab 2012",
|
142 |
-
"Ford F-150 Regular Cab 2007",
|
143 |
-
"Ford Focus Sedan 2007",
|
144 |
-
"Ford E-Series Wagon Van 2012",
|
145 |
-
"Ford Fiesta Sedan 2012",
|
146 |
-
"GMC Terrain SUV 2012",
|
147 |
-
"GMC Savana Van 2012",
|
148 |
-
"GMC Yukon Hybrid SUV 2012",
|
149 |
-
"GMC Acadia SUV 2012",
|
150 |
-
"GMC Canyon Extended Cab 2012",
|
151 |
-
"Geo Metro Convertible 1993",
|
152 |
-
"HUMMER H3T Crew Cab 2010",
|
153 |
-
"HUMMER H2 SUT Crew Cab 2009",
|
154 |
-
"Honda Odyssey Minivan 2012",
|
155 |
-
"Honda Odyssey Minivan 2007",
|
156 |
-
"Honda Accord Coupe 2012",
|
157 |
-
"Honda Accord Sedan 2012",
|
158 |
-
"Hyundai Veloster Hatchback 2012",
|
159 |
-
"Hyundai Santa Fe SUV 2012",
|
160 |
-
"Hyundai Tucson SUV 2012",
|
161 |
-
"Hyundai Veracruz SUV 2012",
|
162 |
-
"Hyundai Sonata Hybrid Sedan 2012",
|
163 |
-
"Hyundai Elantra Sedan 2007",
|
164 |
-
"Hyundai Accent Sedan 2012",
|
165 |
-
"Hyundai Genesis Sedan 2012",
|
166 |
-
"Hyundai Sonata Sedan 2012",
|
167 |
-
"Hyundai Elantra Touring Hatchback 2012",
|
168 |
-
"Hyundai Azera Sedan 2012",
|
169 |
-
"Infiniti G Coupe IPL 2012",
|
170 |
-
"Infiniti QX56 SUV 2011",
|
171 |
-
"Isuzu Ascender SUV 2008",
|
172 |
-
"Jaguar XK XKR 2012",
|
173 |
-
"Jeep Patriot SUV 2012",
|
174 |
-
"Jeep Wrangler SUV 2012",
|
175 |
-
"Jeep Liberty SUV 2012",
|
176 |
-
"Jeep Grand Cherokee SUV 2012",
|
177 |
-
"Jeep Compass SUV 2012",
|
178 |
-
"Lamborghini Reventon Coupe 2008",
|
179 |
-
"Lamborghini Aventador Coupe 2012",
|
180 |
-
"Lamborghini Gallardo LP 570-4 Superleggera 2012",
|
181 |
-
"Lamborghini Diablo Coupe 2001",
|
182 |
-
"Land Rover Range Rover SUV 2012",
|
183 |
-
"Land Rover LR2 SUV 2012",
|
184 |
-
"Lincoln Town Car Sedan 2011",
|
185 |
-
"MINI Cooper Roadster Convertible 2012",
|
186 |
-
"Maybach Landaulet Convertible 2012",
|
187 |
-
"Mazda Tribute SUV 2011",
|
188 |
-
"McLaren MP4-12C Coupe 2012",
|
189 |
-
"Mercedes-Benz 300-Class Convertible 1993",
|
190 |
-
"Mercedes-Benz C-Class Sedan 2012",
|
191 |
-
"Mercedes-Benz SL-Class Coupe 2009",
|
192 |
-
"Mercedes-Benz E-Class Sedan 2012",
|
193 |
-
"Mercedes-Benz S-Class Sedan 2012",
|
194 |
-
"Mercedes-Benz Sprinter Van 2012",
|
195 |
-
"Mitsubishi Lancer Sedan 2012",
|
196 |
-
"Nissan Leaf Hatchback 2012",
|
197 |
-
"Nissan NV Passenger Van 2012",
|
198 |
-
"Nissan Juke Hatchback 2012",
|
199 |
-
"Nissan 240SX Coupe 1998",
|
200 |
-
"Plymouth Neon Coupe 1999",
|
201 |
-
"Porsche Panamera Sedan 2012",
|
202 |
-
"Ram C/V Cargo Van Minivan 2012",
|
203 |
-
"Rolls-Royce Phantom Drophead Coupe Convertible 2012",
|
204 |
-
"Rolls-Royce Ghost Sedan 2012",
|
205 |
-
"Rolls-Royce Phantom Sedan 2012",
|
206 |
-
"Scion xD Hatchback 2012",
|
207 |
-
"Spyker C8 Convertible 2009",
|
208 |
-
"Spyker C8 Coupe 2009",
|
209 |
-
"Suzuki Aerio Sedan 2007",
|
210 |
-
"Suzuki Kizashi Sedan 2012",
|
211 |
-
"Suzuki SX4 Hatchback 2012",
|
212 |
-
"Suzuki SX4 Sedan 2012",
|
213 |
-
"Tesla Model S Sedan 2012",
|
214 |
-
"Toyota Sequoia SUV 2012",
|
215 |
-
"Toyota Camry Sedan 2012",
|
216 |
-
"Toyota Corolla Sedan 2012",
|
217 |
-
"Toyota 4Runner SUV 2012",
|
218 |
-
"Volkswagen Golf Hatchback 2012",
|
219 |
-
"Volkswagen Golf Hatchback 1991",
|
220 |
-
"Volkswagen Beetle Hatchback 2012",
|
221 |
-
"Volvo C30 Hatchback 2012",
|
222 |
-
"Volvo 240 Sedan 1993",
|
223 |
-
"Volvo XC90 SUV 2007",
|
224 |
-
"smart fortwo Convertible 2012",
|
225 |
-
]
|
226 |
-
|
227 |
-
clip_templates = [
|
228 |
-
lambda c: f"a photo of a {c}.",
|
229 |
-
lambda c: f"a photo of the {c}.",
|
230 |
-
lambda c: f"a photo of my {c}.",
|
231 |
-
lambda c: f"i love my {c}!",
|
232 |
-
lambda c: f"a photo of my dirty {c}.",
|
233 |
-
lambda c: f"a photo of my clean {c}.",
|
234 |
-
lambda c: f"a photo of my new {c}.",
|
235 |
-
lambda c: f"a photo of my old {c}.",
|
236 |
-
]
|
237 |
-
|
238 |
-
def _info(self):
|
239 |
-
return datasets.DatasetInfo(
|
240 |
-
description="StanfordCars dataset for image classification.",
|
241 |
-
features=datasets.Features(
|
242 |
-
{
|
243 |
-
"image": datasets.Image(),
|
244 |
-
"label": datasets.ClassLabel(names=self.classnames),
|
245 |
-
}
|
246 |
-
),
|
247 |
-
supervised_keys=("image", "label"),
|
248 |
-
task_templates=[datasets.ImageClassification(image_column="image", label_column="label")],
|
249 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|