amiqinayat
commited on
Commit
•
0541f89
1
Parent(s):
e9e5ec6
Training in progress, epoch 0
Browse files- config.json +83 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "Crack",
|
21 |
+
"1": "Environment - Ground",
|
22 |
+
"2": "Environment - Other",
|
23 |
+
"3": "Environment - Sky",
|
24 |
+
"4": "Environment - Vegetation",
|
25 |
+
"5": "Joint Defect",
|
26 |
+
"6": "Loss of Section",
|
27 |
+
"7": "Spalling",
|
28 |
+
"8": "Vegetation",
|
29 |
+
"9": "Wall - Grafitti",
|
30 |
+
"10": "Wall - Normal",
|
31 |
+
"11": "Wall - Other",
|
32 |
+
"12": "Wall - Stain"
|
33 |
+
},
|
34 |
+
"image_size": 224,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"label2id": {
|
37 |
+
"Crack": 0,
|
38 |
+
"Environment - Ground": 1,
|
39 |
+
"Environment - Other": 2,
|
40 |
+
"Environment - Sky": 3,
|
41 |
+
"Environment - Vegetation": 4,
|
42 |
+
"Joint Defect": 5,
|
43 |
+
"Loss of Section": 6,
|
44 |
+
"Spalling": 7,
|
45 |
+
"Vegetation": 8,
|
46 |
+
"Wall - Grafitti": 9,
|
47 |
+
"Wall - Normal": 10,
|
48 |
+
"Wall - Other": 11,
|
49 |
+
"Wall - Stain": 12
|
50 |
+
},
|
51 |
+
"layer_norm_eps": 1e-05,
|
52 |
+
"mlp_ratio": 4.0,
|
53 |
+
"model_type": "swin",
|
54 |
+
"num_channels": 3,
|
55 |
+
"num_heads": [
|
56 |
+
3,
|
57 |
+
6,
|
58 |
+
12,
|
59 |
+
24
|
60 |
+
],
|
61 |
+
"num_layers": 4,
|
62 |
+
"out_features": [
|
63 |
+
"stage4"
|
64 |
+
],
|
65 |
+
"out_indices": [
|
66 |
+
4
|
67 |
+
],
|
68 |
+
"patch_size": 4,
|
69 |
+
"path_norm": true,
|
70 |
+
"problem_type": "single_label_classification",
|
71 |
+
"qkv_bias": true,
|
72 |
+
"stage_names": [
|
73 |
+
"stem",
|
74 |
+
"stage1",
|
75 |
+
"stage2",
|
76 |
+
"stage3",
|
77 |
+
"stage4"
|
78 |
+
],
|
79 |
+
"torch_dtype": "float32",
|
80 |
+
"transformers_version": "4.32.1",
|
81 |
+
"use_absolute_embeddings": false,
|
82 |
+
"window_size": 7
|
83 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30393d2b19f69cdf24c84e3ef88aeb3b85623a5ae9d2fb0273b2f497157bf06c
|
3 |
+
size 110425393
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68466c734dbdbe51dc07986f9674c3ff957419636cb401c4591e524a76e81fcc
|
3 |
+
size 4091
|