Nguyen Tien commited on
Commit
730c7ac
1 Parent(s): 58d6c04

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": "normal"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "label2id": {
30
+ "absent": 0,
31
+ "bend_down": 1,
32
+ "horizontal_rotation": 2,
33
+ "normal": 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:45c70448e5d1be2b09e292a1a2f1c4a176000d9980bb4fc6c96f23c893efaac9
3
+ size 15482752