dima806's picture
Update README.md
d3058a3 verified
|
raw
history blame
23.5 kB
metadata
license: apache-2.0
metrics:
  - accuracy
  - f1
base_model:
  - google/vit-base-patch16-224-in21k

Returns car brand with about 64% accuracy given on an image.

See https://www.kaggle.com/code/dima806/car-models-image-detection-vit for details.

Accuracy: 0.6372
F1 Score: 0.6081

Classification report:

                               precision    recall  f1-score   support

                    Acura ILX     0.3340    0.7222    0.4568       216
                    Acura MDX     0.4300    0.5860    0.4961       215
                    Acura NSX     0.7328    0.4465    0.5549       215
                    Acura RDX     0.5122    0.2917    0.3717       216
                    Acura RLX     0.4627    0.6898    0.5539       216
                    Acura TLX     0.4274    0.7116    0.5340       215
                Alfa Romeo 4C     0.7787    0.8512    0.8133       215
         Alfa Romeo 4C Spider     0.9351    1.0000    0.9664       216
            Alfa Romeo Giulia     0.7738    0.7917    0.7826       216
           Alfa Romeo Stelvio     0.6074    0.9860    0.7518       215
            Aston Martin DB11     0.7280    0.8796    0.7966       216
             Aston Martin DBS     0.5897    0.8519    0.6970       216
        Aston Martin Vanquish     0.6196    0.7917    0.6951       216
         Aston Martin Vantage     0.6171    0.6372    0.6270       215
                      Audi A3     0.5409    0.3981    0.4587       216
                      Audi A4     0.5275    0.4444    0.4824       216
                      Audi A5     0.3293    0.5023    0.3978       215
                      Audi A6     0.2836    0.6250    0.3902       216
                      Audi A7     0.4898    0.1111    0.1811       216
                      Audi A8     0.3375    0.6250    0.4383       216
                      Audi Q3     0.5123    0.9721    0.6709       215
                      Audi Q5     0.6441    0.3519    0.4551       216
                      Audi Q7     0.4820    0.8698    0.6202       215
                      Audi Q8     0.7479    0.8241    0.7841       216
                      Audi R8     0.4851    0.6019    0.5372       216
                      Audi TT     0.3942    0.7500    0.5167       216
                  Audi e-tron     0.8482    0.8796    0.8636       216
                 BMW 2-Series     0.6486    0.3349    0.4417       215
                 BMW 3-Series     0.5714    0.2222    0.3200       216
                 BMW 4-Series     0.6724    0.1814    0.2857       215
                 BMW 5-Series     0.3986    0.2639    0.3175       216
                 BMW 6-Series     0.4968    0.3565    0.4151       216
                 BMW 7-Series     0.4428    0.5556    0.4928       216
                 BMW 8-Series     0.7148    0.9442    0.8136       215
                       BMW X1     0.8077    0.4861    0.6069       216
                       BMW X2     0.6724    0.9070    0.7723       215
                       BMW X3     0.6691    0.4326    0.5254       215
                       BMW X4     0.5494    0.6435    0.5928       216
                       BMW X5     0.8421    0.0744    0.1368       215
                       BMW X6     0.7557    0.4583    0.5706       216
                       BMW X7     0.8052    1.0000    0.8921       215
                       BMW Z4     0.6783    0.3628    0.4727       215
                       BMW i3     0.7573    0.8380    0.7956       216
                       BMW i8     0.6331    0.9070    0.7457       215
             Bentley Bentayga     0.8148    0.7163    0.7624       215
       Bentley Continental GT     0.5876    0.2639    0.3642       216
          Bentley Flying Spur     0.7566    0.5324    0.6250       216
             Bentley Mulsanne     0.3917    0.6558    0.4904       215
                Buick Cascada     0.6492    0.9814    0.7815       215
                Buick Enclave     0.4829    0.8558    0.6174       215
                 Buick Encore     0.5281    0.8704    0.6573       216
               Buick Envision     0.6855    0.9023    0.7791       215
               Buick Lacrosse     0.4907    0.3657    0.4191       216
                  Buick Regal     0.8077    0.0972    0.1736       216
                 Cadillac ATS     0.8197    0.4630    0.5917       216
                 Cadillac CT4     0.9600    1.0000    0.9796       216
                 Cadillac CT5     0.7679    1.0000    0.8687       215
                 Cadillac CT6     0.6410    0.6944    0.6667       216
                 Cadillac CTS     0.5397    0.6326    0.5824       215
            Cadillac Escalade     0.6231    0.5767    0.5990       215
                 Cadillac XT4     0.8600    1.0000    0.9247       215
                 Cadillac XT5     0.6068    0.9116    0.7286       215
                 Cadillac XT6     0.9076    1.0000    0.9515       216
                 Cadillac XTS     0.7306    0.6558    0.6912       215
             Chevrolet Blazer     0.9421    0.8326    0.8840       215
            Chevrolet Bolt EV     0.9312    0.9398    0.9355       216
             Chevrolet Camaro     0.6269    0.3889    0.4800       216
           Chevrolet Colorado     0.6354    0.2824    0.3910       216
           Chevrolet Corvette     0.7319    0.4676    0.5706       216
              Chevrolet Cruze     0.8000    0.2419    0.3714       215
            Chevrolet Equinox     0.6296    0.3163    0.4211       215
             Chevrolet Impala     0.4279    0.8279    0.5642       215
             Chevrolet Malibu     0.8611    0.1442    0.2470       215
     Chevrolet Silverado 1500     0.2796    0.1204    0.1683       216
   Chevrolet Silverado 2500HD     0.3636    0.9116    0.5199       215
              Chevrolet Sonic     0.8363    0.6651    0.7409       215
              Chevrolet Spark     0.5752    0.9028    0.7027       216
           Chevrolet Suburban     0.6933    0.7222    0.7075       216
              Chevrolet Tahoe     0.5082    0.8605    0.6390       215
        Chevrolet TrailBlazer     0.7444    0.9306    0.8272       216
           Chevrolet Traverse     0.3151    0.8287    0.4566       216
               Chevrolet Trax     0.8613    0.9535    0.9051       215
               Chevrolet Volt     0.6974    0.6296    0.6618       216
                 Chrysler 300     0.7532    0.5509    0.6364       216
            Chrysler Pacifica     0.7071    0.6512    0.6780       215
             Dodge Challenger     0.6538    0.5509    0.5980       216
                Dodge Charger     0.6860    0.2731    0.3907       216
                Dodge Durango     0.8333    0.2326    0.3636       215
          Dodge Grand Caravan     0.7091    0.9028    0.7943       216
                Dodge Journey     0.6553    0.8009    0.7208       216
              FIAT 124 Spider     0.4724    0.9163    0.6234       215
                     FIAT 500     0.6373    0.3009    0.4088       216
                    FIAT 500L     0.8670    0.9352    0.8998       216
                    FIAT 500X     0.9149    0.9954    0.9534       216
                    FIAT 500e     0.5710    0.9907    0.7245       215
              Ferrari 488 GTB     0.8410    0.9306    0.8835       216
            Ferrari GTC4Lusso     1.0000    1.0000    1.0000       216
            Ferrari Portofino     0.9954    1.0000    0.9977       215
                Ford Ecosport     0.6814    1.0000    0.8105       216
                    Ford Edge     1.0000    0.1157    0.2075       216
                  Ford Escape     0.8621    0.1157    0.2041       216
              Ford Expedition     0.7169    0.5535    0.6247       215
                Ford Explorer     0.8514    0.2917    0.4345       216
                   Ford F-150     0.5614    0.1481    0.2344       216
                  Ford Fiesta     0.7143    0.2778    0.4000       216
                    Ford Flex     0.5668    0.8884    0.6920       215
                  Ford Fusion     0.7480    0.4259    0.5428       216
                 Ford Mustang     0.6505    0.3102    0.4201       216
                  Ford Ranger     0.5868    0.7860    0.6720       215
        Ford Super Duty F-250     0.6310    0.4930    0.5535       215
                  Ford Taurus     0.6159    0.4306    0.5068       216
   Ford Transit Connect Wagon     0.8095    0.8698    0.8386       215
                   GMC Acadia     0.7488    0.7488    0.7488       215
                   GMC Canyon     0.6231    0.3767    0.4696       215
              GMC Sierra 1500     0.3719    0.2083    0.2671       216
            GMC Sierra 2500HD     0.3784    0.3889    0.3836       216
                  GMC Terrain     0.6667    0.1852    0.2899       216
                    GMC Yukon     0.7217    0.7083    0.7150       216
                  Genesis G70     0.6980    0.9674    0.8109       215
                  Genesis G80     0.5994    0.9395    0.7319       215
                  Genesis G90     0.3591    0.7731    0.4905       216
                 Honda Accord     0.3111    0.1296    0.1830       216
                   Honda CR-V     0.4676    0.6343    0.5383       216
                  Honda Civic     0.5778    0.1204    0.1992       216
                Honda Clarity     0.5709    0.6898    0.6247       216
                    Honda Fit     0.5850    0.3981    0.4738       216
                   Honda HR-V     0.7899    0.8704    0.8282       216
                Honda Insight     0.7800    0.3611    0.4937       216
                Honda Odyssey     0.6187    0.7361    0.6723       216
               Honda Passport     0.5547    0.9630    0.7039       216
                  Honda Pilot     0.6667    0.2315    0.3436       216
              Honda Ridgeline     0.6213    0.6791    0.6489       215
               Hyundai Accent     0.3455    0.7070    0.4641       215
              Hyundai Elantra     0.3704    0.1860    0.2477       215
                Hyundai Ioniq     0.6079    0.6419    0.6244       215
                 Hyundai Kona     0.9653    0.9028    0.9330       216
        Hyundai Kona Electric     0.8504    1.0000    0.9191       216
                 Hyundai NEXO     0.9954    1.0000    0.9977       216
             Hyundai Palisade     0.7749    0.9767    0.8642       215
             Hyundai Santa Fe     0.9231    0.0558    0.1053       215
               Hyundai Sonata     0.8750    0.1296    0.2258       216
               Hyundai Tucson     0.6050    0.5602    0.5817       216
             Hyundai Veloster     0.7791    0.5907    0.6720       215
                Hyundai Venue     0.9474    1.0000    0.9730       216
                 INFINITI Q50     0.4962    0.5972    0.5420       216
                 INFINITI Q60     0.5578    0.7593    0.6431       216
                 INFINITI Q70     0.4165    0.9352    0.5763       216
                INFINITI QX30     0.7633    1.0000    0.8657       216
                INFINITI QX50     0.6000    0.5556    0.5769       216
                INFINITI QX60     0.7250    0.6713    0.6971       216
                INFINITI QX80     0.7349    0.7315    0.7332       216
                Jaguar E-Pace     0.7352    0.8611    0.7932       216
                Jaguar F-Pace     0.8725    0.6019    0.7123       216
                Jaguar F-Type     0.8421    0.1481    0.2520       216
                Jaguar I-Pace     0.8872    0.5463    0.6762       216
                    Jaguar XE     0.6372    0.3333    0.4377       216
                    Jaguar XF     0.4000    0.0093    0.0181       216
                    Jaguar XJ     0.7413    0.4907    0.5905       216
                Jeep Cherokee     0.6923    0.7083    0.7002       216
                 Jeep Compass     0.6905    0.6713    0.6808       216
               Jeep Gladiator     0.9474    1.0000    0.9730       216
          Jeep Grand Cherokee     0.6538    0.5509    0.5980       216
                Jeep Renegade     0.8301    0.9954    0.9053       216
                Jeep Wrangler     0.8739    0.9306    0.9013       216
                  Kia Cadenza     0.5197    0.5535    0.5360       215
                    Kia Forte     0.2556    0.3721    0.3030       215
                     Kia K900     0.5196    0.9256    0.6656       215
                     Kia Niro     0.8289    0.5833    0.6848       216
                   Kia Optima     0.6375    0.2361    0.3446       216
                      Kia Rio     0.7000    0.0972    0.1707       216
                   Kia Sedona     0.5714    0.8148    0.6718       216
                  Kia Sorento     0.6531    0.2963    0.4076       216
                     Kia Soul     0.8864    0.5442    0.6744       215
                  Kia Soul EV     0.8175    0.9581    0.8822       215
                 Kia Sportage     0.6083    0.6791    0.6418       215
                  Kia Stinger     0.7423    1.0000    0.8521       216
                Kia Telluride     0.7993    1.0000    0.8884       215
        Lamborghini Aventador     0.8710    1.0000    0.9310       216
          Lamborghini Huracan     0.6171    0.7721    0.6860       215
             Lamborghini Urus     0.8151    1.0000    0.8981       216
          Land Rover Defender     0.7904    1.0000    0.8830       215
         Land Rover Discovery     0.7264    0.6759    0.7002       216
   Land Rover Discovery Sport     0.7426    0.9395    0.8296       215
       Land Rover Range Rover     0.6746    0.3953    0.4985       215
Land Rover Range Rover Evoque     0.8291    0.6065    0.7005       216
 Land Rover Range Rover Sport     0.8889    0.0370    0.0711       216
 Land Rover Range Rover Velar     0.7435    0.9302    0.8264       215
                     Lexus ES     0.5050    0.4722    0.4880       216
                     Lexus GS     0.6585    0.3767    0.4793       215
                     Lexus GX     0.5685    0.9028    0.6977       216
                     Lexus IS     0.5171    0.4930    0.5048       215
                     Lexus LC     0.8163    0.9302    0.8696       215
                     Lexus LS     0.4435    0.7488    0.5571       215
                     Lexus LX     0.6892    0.2372    0.3529       215
                     Lexus NX     0.5234    0.7778    0.6257       216
                     Lexus RC     0.6842    0.4213    0.5215       216
                     Lexus RX     0.7778    0.3241    0.4575       216
                     Lexus UX     0.9038    1.0000    0.9495       216
              Lincoln Aviator     0.7778    0.6186    0.6891       215
          Lincoln Continental     0.5689    0.7488    0.6466       215
              Lincoln Corsair     0.5942    0.9491    0.7308       216
                  Lincoln MKC     0.6187    0.8605    0.7198       215
                  Lincoln MKT     0.5437    0.7778    0.6400       216
                  Lincoln MKZ     0.4907    0.6140    0.5455       215
             Lincoln Nautilus     0.5526    0.9491    0.6985       216
            Lincoln Navigator     0.6176    0.6806    0.6476       216
                 MINI Clubman     0.7383    0.7315    0.7349       216
                  MINI Cooper     0.6821    0.6186    0.6488       215
       MINI Cooper Countryman     0.6809    0.8102    0.7400       216
              Maserati Ghibli     0.5416    0.9352    0.6859       216
         Maserati GranTurismo     0.8421    0.0744    0.1368       215
             Maserati Levante     0.8918    0.9537    0.9217       216
        Maserati Quattroporte     0.6240    0.7256    0.6710       215
                   Mazda CX-3     0.6405    0.9074    0.7510       216
                  Mazda CX-30     0.8780    1.0000    0.9351       216
                   Mazda CX-5     0.8116    0.2593    0.3930       216
                   Mazda CX-9     0.5566    0.8426    0.6703       216
                 Mazda MAZDA3     0.6977    0.2778    0.3974       216
                 Mazda MAZDA6     0.3893    0.4722    0.4268       216
             Mazda MX-5 Miata     0.5755    0.2837    0.3801       215
       Mazda Mazda3 Hatchback     1.0000    1.0000    1.0000       215
                McLaren 570GT     0.9862    1.0000    0.9931       215
                 McLaren 570S     0.9730    1.0000    0.9863       216
                 McLaren 720S     0.7196    0.9907    0.8337       215
        Mercedes-Benz A Class     0.4447    0.9306    0.6018       216
         Mercedes-Benz AMG GT     0.7655    0.8047    0.7846       215
        Mercedes-Benz C Class     0.8333    0.0231    0.0450       216
      Mercedes-Benz CLA Class     1.0000    0.2593    0.4118       216
      Mercedes-Benz CLS Class     0.5658    0.1991    0.2945       216
        Mercedes-Benz E Class     0.4563    0.2176    0.2947       216
            Mercedes-Benz EQC     0.7742    1.0000    0.8727       216
        Mercedes-Benz G Class     0.7814    0.7778    0.7796       216
      Mercedes-Benz GLA Class     0.6613    0.7628    0.7084       215
      Mercedes-Benz GLB Class     0.7188    0.9628    0.8231       215
      Mercedes-Benz GLC Class     0.7204    0.3116    0.4351       215
      Mercedes-Benz GLE Class     0.6556    0.4583    0.5395       216
      Mercedes-Benz GLS Class     0.6047    0.9535    0.7401       215
         Mercedes-Benz Metris     0.9439    0.9352    0.9395       216
        Mercedes-Benz S Class     0.4537    0.2269    0.3025       216
       Mercedes-Benz SL Class     0.5074    0.8000    0.6209       215
      Mercedes-Benz SLC Class     0.7991    0.8287    0.8136       216
     Mitsubishi Eclipse Cross     0.8816    1.0000    0.9371       216
            Mitsubishi Mirage     0.3750    0.8512    0.5206       215
         Mitsubishi Outlander     0.7976    0.3116    0.4482       215
   Mitsubishi Outlander Sport     0.5735    0.5628    0.5681       215
                  Nissan 370Z     0.6528    0.8009    0.7193       216
                Nissan Altima     0.4350    0.4491    0.4419       216
                Nissan Armada     0.5540    0.7163    0.6247       215
              Nissan Frontier     0.5114    0.8333    0.6338       216
                  Nissan GT-R     0.7536    0.2419    0.3662       215
                 Nissan Kicks     0.8431    1.0000    0.9149       215
                  Nissan Leaf     0.7946    0.4120    0.5427       216
                Nissan Maxima     0.5361    0.7222    0.6154       216
                Nissan Murano     0.7808    0.5278    0.6298       216
                 Nissan NV200     0.9258    0.9815    0.9528       216
            Nissan Pathfinder     0.8267    0.2884    0.4276       215
                 Nissan Rogue     0.6529    0.3674    0.4702       215
           Nissan Rogue Sport     0.7235    0.9815    0.8330       216
                Nissan Sentra     0.4872    0.3519    0.4086       216
                 Nissan Titan     0.6667    0.2233    0.3345       215
                 Nissan Versa     0.3939    0.1806    0.2476       216
                  Porsche 718     0.4709    0.8241    0.5993       216
           Porsche 718 Spyder     1.0000    1.0000    1.0000       216
                  Porsche 911     0.9429    0.1528    0.2629       216
              Porsche Cayenne     0.9623    0.2361    0.3792       216
                Porsche Macan     0.8716    0.4419    0.5864       215
             Porsche Panamera     0.5030    0.3889    0.4386       216
               Porsche Taycan     0.6262    0.9306    0.7486       216
                     Ram 1500     0.5417    0.2419    0.3344       215
                     Ram 2500     0.4303    0.8426    0.5696       216
         Rolls-Royce Cullinan     0.9267    1.0000    0.9620       215
             Rolls-Royce Dawn     0.9471    1.0000    0.9729       215
            Rolls-Royce Ghost     0.5096    0.8611    0.6403       216
          Rolls-Royce Phantom     0.6093    0.9676    0.7478       216
           Rolls-Royce Wraith     0.9954    1.0000    0.9977       215
                Subaru Ascent     0.8009    0.8233    0.8119       215
                   Subaru BRZ     0.7195    0.8233    0.7679       215
             Subaru Crosstrek     0.9281    0.6000    0.7288       215
              Subaru Forester     0.6027    0.6250    0.6136       216
               Subaru Impreza     0.7500    0.0139    0.0273       216
                Subaru Legacy     0.8333    0.0694    0.1282       216
               Subaru Outback     0.7917    0.3535    0.4887       215
              Subaru STI S209     1.0000    1.0000    1.0000       216
                   Subaru WRX     0.5451    0.5880    0.5657       216
                Tesla Model 3     0.7288    1.0000    0.8431       215
                Tesla Model S     0.7156    0.3628    0.4815       215
                Tesla Model X     0.9048    0.9721    0.9372       215
                Tesla Model Y     1.0000    1.0000    1.0000       215
               Toyota 4Runner     0.6053    0.8519    0.7077       216
                    Toyota 86     0.8996    1.0000    0.9471       215
                Toyota Avalon     0.5904    0.4537    0.5131       216
                  Toyota C-HR     0.7567    0.9213    0.8309       216
                 Toyota Camry     0.3529    0.3333    0.3429       216
               Toyota Corolla     0.4408    0.4306    0.4356       216
            Toyota Highlander     0.5028    0.4120    0.4529       216
          Toyota Land Cruiser     0.5358    0.7269    0.6169       216
                 Toyota Mirai     0.5538    1.0000    0.7129       216
                 Toyota Prius     0.6186    0.5581    0.5868       215
               Toyota Prius C     0.3161    0.7674    0.4478       215
                  Toyota RAV4     0.6292    0.2605    0.3684       215
               Toyota Sequoia     0.5714    0.7442    0.6465       215
                Toyota Sienna     0.5389    0.8333    0.6545       216
                 Toyota Supra     0.6006    0.8981    0.7199       216
                Toyota Tacoma     0.5375    0.5972    0.5658       216
                Toyota Tundra     0.5489    0.3380    0.4183       216
                 Toyota Yaris     0.3857    0.1250    0.1888       216
       Toyota Yaris Hatchback     0.9908    1.0000    0.9954       216
            Volkswagen Arteon     0.7993    1.0000    0.8884       215
             Volkswagen Atlas     0.7727    0.9444    0.8500       216
            Volkswagen Beetle     0.7797    0.6419    0.7041       215
              Volkswagen Golf     0.4023    0.1628    0.2318       215
             Volkswagen Jetta     0.6393    0.1806    0.2816       216
            Volkswagen Passat     0.4915    0.1349    0.2117       215
            Volkswagen Tiguan     0.7748    0.5417    0.6376       216
            Volkswagen e-Golf     0.5318    0.9676    0.6864       216
                    Volvo S60     0.0000    0.0000    0.0000       215
                    Volvo S90     0.3875    0.6326    0.4806       215
                    Volvo V60     0.3787    0.6574    0.4805       216
                    Volvo V90     0.5977    0.9674    0.7389       215
                   Volvo XC40     0.7746    0.8750    0.8217       216
                   Volvo XC60     0.8953    0.3581    0.5116       215
                   Volvo XC90     0.8061    0.3674    0.5048       215
                 smart fortwo     0.6567    0.6111    0.6331       216

                     accuracy                         0.6372     69639
                    macro avg     0.6688    0.6373    0.6081     69639
                 weighted avg     0.6688    0.6372    0.6081     69639