Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,62 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
pipeline_tag: image-classification
|
4 |
+
base_model:
|
5 |
+
- apple/aimv2-large-patch14-448
|
6 |
+
datasets:
|
7 |
+
- Artificio/WikiArt
|
8 |
+
- asahi417/wikiart-face
|
9 |
+
- mattmdjaga/human_parsing_dataset
|
10 |
+
- sugarquark/4o
|
11 |
+
- zguo0525/ArtBench
|
12 |
+
tags:
|
13 |
+
- fashion
|
14 |
+
---
|
15 |
+
|
16 |
+
# Classification model
|
17 |
+
|
18 |
+
## Inference
|
19 |
+
|
20 |
+
```
|
21 |
+
aimv2.forward(pixel_values, return_dict=True).last_hidden_state
|
22 |
+
pooled = hidden_states.mean(dim=1)
|
23 |
+
logits = classifier(pooled)
|
24 |
+
```
|
25 |
+
|
26 |
+
## Categories
|
27 |
+
|
28 |
+
```
|
29 |
+
[1] Art Nouveau
|
30 |
+
[2] Baroque
|
31 |
+
[3] Contemporary Realism
|
32 |
+
[4] Expressionism
|
33 |
+
[5] Early Renaissance
|
34 |
+
[6] High Renaissance
|
35 |
+
[7] Impressionism
|
36 |
+
[8] Neoclassicism
|
37 |
+
[9] Northern Renaissance
|
38 |
+
[10] Photo
|
39 |
+
[11] Pointillism
|
40 |
+
[12] Post-Impressionism
|
41 |
+
[13] Realism
|
42 |
+
[14] Renaissance
|
43 |
+
[15] Rococo
|
44 |
+
[16] Romanticism
|
45 |
+
[19] 4o
|
46 |
+
[20] Cityscape
|
47 |
+
[21] Figurative
|
48 |
+
[22] Flower painting
|
49 |
+
[23] Genre painting
|
50 |
+
[24] Landscape
|
51 |
+
[25] Nude painting
|
52 |
+
[26] Portrait
|
53 |
+
[27] Religious painting
|
54 |
+
[28] Self-portrait
|
55 |
+
[29] Still life
|
56 |
+
[31] Hat
|
57 |
+
[34] Top
|
58 |
+
[37] Dress
|
59 |
+
[39] Shoes
|
60 |
+
[46] Bag
|
61 |
+
[49] Outer
|
62 |
+
```
|