Nguyen Tien
commited on
Upload VanForImageClassification
Browse files- config.json +62 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"4": "other"
|
| 27 |
+
},
|
| 28 |
+
"image_size": 224,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"label2id": {
|
| 31 |
+
"absent": 0,
|
| 32 |
+
"bend_down": 1,
|
| 33 |
+
"horizontal_rotation": 2,
|
| 34 |
+
"normal": 3,
|
| 35 |
+
"other": 4
|
| 36 |
+
},
|
| 37 |
+
"layer_norm_eps": 1e-06,
|
| 38 |
+
"layer_scale_init_value": 0.01,
|
| 39 |
+
"mlp_ratios": [
|
| 40 |
+
8,
|
| 41 |
+
8,
|
| 42 |
+
4,
|
| 43 |
+
4
|
| 44 |
+
],
|
| 45 |
+
"model_type": "van",
|
| 46 |
+
"num_channels": 3,
|
| 47 |
+
"patch_sizes": [
|
| 48 |
+
7,
|
| 49 |
+
3,
|
| 50 |
+
3,
|
| 51 |
+
3
|
| 52 |
+
],
|
| 53 |
+
"problem_type": "single_label_classification",
|
| 54 |
+
"strides": [
|
| 55 |
+
4,
|
| 56 |
+
2,
|
| 57 |
+
2,
|
| 58 |
+
2
|
| 59 |
+
],
|
| 60 |
+
"torch_dtype": "float32",
|
| 61 |
+
"transformers_version": "4.36.2"
|
| 62 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b401ad203d857fb69e3b39a2828db85650a3b023b56aa332ea204741de23358
|
| 3 |
+
size 15483780
|