mohameddemes
commited on
Commit
•
c624649
1
Parent(s):
aced430
Training in progress, epoch 1
Browse files
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": "gauze",
|
21 |
+
"1": "glove_pair_latex",
|
22 |
+
"2": "glove_pair_nitrile",
|
23 |
+
"3": "glove_pair_surgery",
|
24 |
+
"4": "glove_single_latex",
|
25 |
+
"5": "glove_single_nitrile",
|
26 |
+
"6": "glove_single_surgery",
|
27 |
+
"7": "medical_cap",
|
28 |
+
"8": "medical_glasses",
|
29 |
+
"9": "shoe_cover_pair",
|
30 |
+
"10": "shoe_cover_single",
|
31 |
+
"11": "test_tube",
|
32 |
+
"12": "urine_bag"
|
33 |
+
},
|
34 |
+
"image_size": 224,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"label2id": {
|
37 |
+
"gauze": 0,
|
38 |
+
"glove_pair_latex": 1,
|
39 |
+
"glove_pair_nitrile": 2,
|
40 |
+
"glove_pair_surgery": 3,
|
41 |
+
"glove_single_latex": 4,
|
42 |
+
"glove_single_nitrile": 5,
|
43 |
+
"glove_single_surgery": 6,
|
44 |
+
"medical_cap": 7,
|
45 |
+
"medical_glasses": 8,
|
46 |
+
"shoe_cover_pair": 9,
|
47 |
+
"shoe_cover_single": 10,
|
48 |
+
"test_tube": 11,
|
49 |
+
"urine_bag": 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.39.2",
|
81 |
+
"use_absolute_embeddings": false,
|
82 |
+
"window_size": 7
|
83 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cff26fb7f7287af002a758879ddd0421df6543996a90ee836947046328184dfc
|
3 |
+
size 110376676
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.485,
|
21 |
+
0.456,
|
22 |
+
0.406
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.229,
|
27 |
+
0.224,
|
28 |
+
0.225
|
29 |
+
],
|
30 |
+
"resample": 3,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
runs/Apr01_16-59-30_1be0831098fd/events.out.tfevents.1711991332.1be0831098fd.4267.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39440f67142f65d0acd51ee796486c6861764e34d7870c7dff734c0a5ce2a67e
|
3 |
+
size 6626
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f5632a4e6f5cbbb8dc15fb5a030b2f4cee814db04c2f5652ee2312c037e2a2b
|
3 |
+
size 4984
|