Nguyen Tien commited on
Commit
f1e41e7
1 Parent(s): 1778757

Upload VanForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Visual-Attention-Network/van-tiny",
3
+ "architectures": [
4
+ "VanForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 5,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "dropout_rate": 0.0,
14
+ "hidden_act": "gelu",
15
+ "hidden_sizes": [
16
+ 32,
17
+ 64,
18
+ 160,
19
+ 256
20
+ ],
21
+ "id2label": {
22
+ "0": "absent",
23
+ "1": "bend_down",
24
+ "2": "horizontal_rotation",
25
+ "3": "other"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "label2id": {
30
+ "absent": 0,
31
+ "bend_down": 1,
32
+ "horizontal_rotation": 2,
33
+ "other": 3
34
+ },
35
+ "layer_norm_eps": 1e-06,
36
+ "layer_scale_init_value": 0.01,
37
+ "mlp_ratios": [
38
+ 8,
39
+ 8,
40
+ 4,
41
+ 4
42
+ ],
43
+ "model_type": "van",
44
+ "num_channels": 3,
45
+ "patch_sizes": [
46
+ 7,
47
+ 3,
48
+ 3,
49
+ 3
50
+ ],
51
+ "problem_type": "single_label_classification",
52
+ "strides": [
53
+ 4,
54
+ 2,
55
+ 2,
56
+ 2
57
+ ],
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.36.2"
60
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2812073a7d35262b5fc64a8fe6700e47afc7492a4dc438d213372137fdfeded5
3
+ size 15482752