Nguyen Tien
commited on
Commit
•
2b0a053
1
Parent(s):
fc5e5fc
Training in progress, epoch 0
Browse files- config.json +56 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "abnormal",
|
23 |
+
"1": "normal"
|
24 |
+
},
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"abnormal": 0,
|
29 |
+
"normal": 1
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-06,
|
32 |
+
"layer_scale_init_value": 0.01,
|
33 |
+
"mlp_ratios": [
|
34 |
+
8,
|
35 |
+
8,
|
36 |
+
4,
|
37 |
+
4
|
38 |
+
],
|
39 |
+
"model_type": "van",
|
40 |
+
"num_channels": 3,
|
41 |
+
"patch_sizes": [
|
42 |
+
7,
|
43 |
+
3,
|
44 |
+
3,
|
45 |
+
3
|
46 |
+
],
|
47 |
+
"problem_type": "single_label_classification",
|
48 |
+
"strides": [
|
49 |
+
4,
|
50 |
+
2,
|
51 |
+
2,
|
52 |
+
2
|
53 |
+
],
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.36.2"
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd66a4f4c1ff7858126ec5fca81dc518ffcda032dd44c17bd6e2b7be72a50954
|
3 |
+
size 15480696
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b2ecf45f8adea70120bf8509ffbfd669b128b1361709c94ac73842a86c5f81f
|
3 |
+
size 4728
|