File size: 4,498 Bytes
57f78aa
 
 
 
 
 
b3510fd
ddd8740
 
 
b3510fd
34cfb46
ddd8740
 
 
 
 
b3510fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ddd8740
b3510fd
 
 
ddd8740
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
license: apache-2.0
metrics:
- accuracy
- f1
---
Detects cat breed (from the list of 48 common breeds) with about 76% accuracy based on image.

See https://www.kaggle.com/code/dima806/cat-breed-image-detection-vit for more details.

![image/png](https://cdn-uploads.huggingface.co/production/uploads/6449300e3adf50d864095b90/jVSIdcNP4gdgr0KYH6WWj.png)

```
Classification report:

                                       precision    recall  f1-score   support

                           Abyssinian     0.9825    0.9686    0.9755      2258
                     American Bobtail     0.3682    0.4756    0.4151      2258
                        American Curl     0.9351    0.9128    0.9238      2258
                   American Shorthair     0.2152    0.0425    0.0710      2258
                    Applehead Siamese     0.9752    0.9938    0.9844      2258
                             Balinese     0.9066    0.9504    0.9280      2258
                               Bengal     0.7630    0.7843    0.7735      2258
                               Birman     0.8670    0.9358    0.9001      2258
                               Bombay     0.6385    0.8707    0.7367      2258
                    British Shorthair     0.7687    0.8578    0.8108      2258
                              Burmese     0.9083    0.9477    0.9276      2258
                               Calico     0.6022    0.6329    0.6171      2258
                          Cornish Rex     0.9942    0.9903    0.9922      2258
                            Devon Rex     0.9800    1.0000    0.9899      2258
                        Dilute Calico     0.5924    0.5638    0.5777      2258
                 Dilute Tortoiseshell     0.5785    0.6807    0.6254      2258
                   Domestic Long Hair     0.3902    0.3361    0.3612      2258
                 Domestic Medium Hair     0.2924    0.1182    0.1684      2258
                  Domestic Short Hair     0.9382    0.9743    0.9559      2258
                         Egyptian Mau     0.8839    0.9136    0.8985      2258
                     Exotic Shorthair     0.8656    0.8012    0.8321      2258
Extra-Toes Cat - Hemingway Polydactyl     0.3749    0.1732    0.2369      2258
                               Havana     0.9835    0.9774    0.9805      2258
                            Himalayan     0.7831    0.7037    0.7413      2258
                     Japanese Bobtail     0.9788    0.9823    0.9805      2258
                           Maine Coon     0.4964    0.6355    0.5574      2258
                                 Manx     0.3339    0.0939    0.1466      2258
                             Munchkin     0.9277    0.9495    0.9385      2258
                             Nebelung     0.9693    0.9925    0.9807      2258
                     Norwegian Forest     0.8262    0.8463    0.8361      2258
                  Oriental Short Hair     0.8392    0.7626    0.7991      2258
                              Persian     0.8177    0.7865    0.8018      2258
                           Ragamuffin     0.9618    0.9818    0.9717      2258
                              Ragdoll     0.6668    0.6169    0.6409      2258
                         Russian Blue     0.8113    0.9066    0.8563      2258
                        Scottish Fold     0.9736    0.8990    0.9348      2258
                              Siamese     0.7565    0.7197    0.7376      2258
                             Siberian     0.9481    0.9619    0.9549      2258
                             Snowshoe     0.8209    0.8242    0.8225      2258
                               Sphynx     0.9951    0.9894    0.9922      2258
                                Tabby     0.3461    0.3472    0.3467      2258
                                Tiger     0.4004    0.6001    0.4803      2258
                            Tonkinese     0.9595    0.9451    0.9523      2258
                               Torbie     0.5366    0.6435    0.5852      2258
                        Tortoiseshell     0.6612    0.7994    0.7237      2258
                       Turkish Angora     0.7278    0.8291    0.7752      2258
                          Turkish Van     0.7509    0.9119    0.8236      2258
                               Tuxedo     0.6356    0.8459    0.7258      2258

                             accuracy                         0.7599    108384
                            macro avg     0.7444    0.7599    0.7456    108384
                         weighted avg     0.7444    0.7599    0.7456    108384
```