
# ViT Fine-tuned on Stanford Car Dataset

Base model: https://huggingface.co/google/vit-base-patch16-224

This achieves around 86% on the testing set, you can use it as a baseline for further tuning.

# Dataset Description 

The Stanford car dataset contains 16,185 images of 196 classes of cars. Classes are typically at the level of Make, Model, Year, e.g. 2012 Tesla Model S or 2012 BMW M3 coupe. The data is split into 8144 training images, 6,041 testing images, and 2000 validation images in this case. 

** Please note: this dataset does not contain newer car models **

# Using the Model in the Transformer Library

```
from transformers import AutoFeatureExtractor, AutoModelForImageClassification

extractor = AutoFeatureExtractor.from_pretrained("therealcyberlord/stanford-car-vit-patch16")
model = AutoModelForImageClassification.from_pretrained("therealcyberlord/stanford-car-vit-patch16")
```


# Citations
3D Object Representations for Fine-Grained Categorization
Jonathan Krause, Michael Stark, Jia Deng, Li Fei-Fei
4th IEEE Workshop on 3D Representation and Recognition, at ICCV 2013 (3dRR-13). Sydney, Australia. Dec. 8, 2013.

dodge ram pickup 3500 crew cab 2010 cadillac cts-v sedan 2012 buick regal gs 2012 daewoo nubira wagon 2002 mercedes-benz e-class sedan 2012 dodge caravan minivan 1997 bentley continental flying spur sedan 2007 cadillac srx suv 2012 maybach landaulet convertible 2012 fiat 500 convertible 2012 bentley arnage sedan 2009 hyundai tucson suv 2012 lamborghini aventador coupe 2012 aston martin v8 vantage convertible 2012 chevrolet silverado 1500 classic extended cab 2007 ford f-450 super duty crew cab 2012 hyundai veloster hatchback 2012 dodge magnum wagon 2008 gmc canyon extended cab 2012 infiniti qx56 suv 2011 lamborghini gallardo lp 570-4 superleggera 2012 chrysler sebring convertible 2010 chevrolet silverado 2500hd regular cab 2012 chevrolet cobalt ss 2010 rolls-royce phantom drophead coupe convertible 2012 hummer h2 sut crew cab 2009 scion xd hatchback 2012 spyker c8 coupe 2009 ford e-series wagon van 2012 toyota 4runner suv 2012 porsche panamera sedan 2012 nissan nv passenger van 2012 audi s6 sedan 2011 nissan 240sx coupe 1998 toyota camry sedan 2012 audi tt hatchback 2011 acura rl sedan 2012 spyker c8 convertible 2009 bmw m5 sedan 2010 hyundai sonata hybrid sedan 2012 mercedes-benz s-class sedan 2012 hyundai santa fe suv 2012 bmw 1 series convertible 2012 ford fiesta sedan 2012 dodge charger srt-8 2009 aston martin virage convertible 2012 chevrolet malibu hybrid sedan 2010 ford freestar minivan 2007 dodge dakota club cab 2007 am general hummer suv 2000 aston martin v8 vantage coupe 2012 ford f-150 regular cab 2012 volkswagen golf hatchback 1991 volkswagen golf hatchback 2012 ferrari 458 italia convertible 2012 audi a5 coupe 2012 volvo c30 hatchback 2012 honda odyssey minivan 2012 dodge journey suv 2012 hummer h3t crew cab 2010 chevrolet silverado 1500 extended cab 2012 dodge ram pickup 3500 quad cab 2009 dodge durango suv 2007 ford edge suv 2012 ford expedition el suv 2009 ferrari ff coupe 2012 honda odyssey minivan 2007 hyundai elantra sedan 2007 bmw x6 suv 2012 ford ranger supercab 2011 nissan leaf hatchback 2012 chevrolet silverado 1500 hybrid crew cab 2012 volkswagen beetle hatchback 2012 nissan juke hatchback 2012 dodge sprinter cargo van 2009 ford f-150 regular cab 2007 honda accord coupe 2012 ferrari california convertible 2012 bmw 6 series convertible 2007 audi 100 wagon 1994 audi s4 sedan 2007 jeep patriot suv 2012 chevrolet avalanche crew cab 2012 chevrolet trailblazer ss 2009 audi r8 coupe 2012 eagle talon hatchback 1998 bentley continental supersports conv. convertible 2012 mercedes-benz sl-class coupe 2009 volvo xc90 suv 2007 mercedes-benz c-class sedan 2012 volvo 240 sedan 1993 bmw 1 series coupe 2012 bmw x3 suv 2012 dodge charger sedan 2012 chevrolet silverado 1500 regular cab 2012 acura integra type r 2001 suzuki sx4 hatchback 2012 ford mustang convertible 2007 bentley continental gt coupe 2012 chevrolet sonic sedan 2012 lamborghini diablo coupe 2001 plymouth neon coupe 1999 cadillac escalade ext crew cab 2007 chevrolet corvette ron fellows edition z06 2007 chevrolet camaro convertible 2012 mini cooper roadster convertible 2012 gmc acadia suv 2012 chevrolet impala sedan 2007 audi s5 convertible 2012 ford focus sedan 2007 ford gt coupe 2006 mclaren mp4-12c coupe 2012 dodge caliber wagon 2012 acura tsx sedan 2012 chrysler 300 srt-8 2010 jeep wrangler suv 2012 chevrolet monte carlo coupe 2007 chevrolet hhr ss 2010 dodge dakota crew cab 2010 ram c-v cargo van minivan 2012 jeep compass suv 2012 hyundai veracruz suv 2012 buick verano sedan 2012 isuzu ascender suv 2008 hyundai accent sedan 2012 audi tt rs coupe 2012 geo metro convertible 1993 buick enclave suv 2012 mercedes-benz 300-class convertible 1993 dodge caliber wagon 2007 smart fortwo convertible 2012 hyundai genesis sedan 2012 jeep liberty suv 2012 chevrolet traverse suv 2012 bmw m6 convertible 2010 bentley mulsanne sedan 2011 jaguar xk xkr 2012 dodge challenger srt8 2011 chevrolet malibu sedan 2007 hyundai sonata sedan 2012 land rover lr2 suv 2012 audi v8 sedan 1994 infiniti g coupe ipl 2012 bugatti veyron 16.4 coupe 2009 acura zdx hatchback 2012 hyundai elantra touring hatchback 2012 suzuki aerio sedan 2007 ferrari 458 italia coupe 2012 bmw z4 convertible 2012 chevrolet corvette zr1 2012 honda accord sedan 2012 rolls-royce ghost sedan 2012 suzuki kizashi sedan 2012 audi s5 coupe 2012 audi s4 sedan 2012 lamborghini reventon coupe 2008 chevrolet express cargo van 2007 jeep grand cherokee suv 2012 lincoln town car sedan 2011 gmc terrain suv 2012 toyota corolla sedan 2012 toyota sequoia suv 2012 mitsubishi lancer sedan 2012 chevrolet express van 2007 bmw activehybrid 5 sedan 2012 acura tl type-s 2008 land rover range rover suv 2012 chevrolet corvette convertible 2012 gmc yukon hybrid suv 2012 bmw 3 series sedan 2012 chevrolet tahoe hybrid suv 2012 bugatti veyron 16.4 convertible 2009 dodge durango suv 2012 aston martin virage coupe 2012 chrysler town and country minivan 2012 suzuki sx4 sedan 2012 chrysler crossfire convertible 2008 audi 100 sedan 1994 audi tts coupe 2012 bentley continental gt coupe 2007 buick rainier suv 2007 mazda tribute suv 2011 bmw m3 coupe 2012 bmw x5 suv 2007 fiat 500 abarth 2012 rolls-royce phantom sedan 2012 gmc savana van 2012 chrysler pt cruiser convertible 2008 fisker karma sedan 2012 tesla model s sedan 2012 bmw 3 series wagon 2012 mercedes-benz sprinter van 2012 hyundai azera sedan 2012 chrysler aspen suv 2009 acura tl sedan 2012 audi rs 4 convertible 2008