bombshelll
commited on
Training in progress, epoch 1
Browse files- config.json +85 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Astrocitoma",
|
21 |
+
"1": "Carcinoma",
|
22 |
+
"2": "Ependimoma",
|
23 |
+
"3": "Ganglioglioma",
|
24 |
+
"4": "Germinoma",
|
25 |
+
"5": "Glioblastoma",
|
26 |
+
"6": "Granuloma",
|
27 |
+
"7": "Meduloblastoma",
|
28 |
+
"8": "Meningioma",
|
29 |
+
"9": "Neurocitoma",
|
30 |
+
"10": "Oligodendroglioma",
|
31 |
+
"11": "Papiloma",
|
32 |
+
"12": "Schwannoma",
|
33 |
+
"13": "Tuberculoma"
|
34 |
+
},
|
35 |
+
"image_size": 224,
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"label2id": {
|
38 |
+
"Astrocitoma": 0,
|
39 |
+
"Carcinoma": 1,
|
40 |
+
"Ependimoma": 2,
|
41 |
+
"Ganglioglioma": 3,
|
42 |
+
"Germinoma": 4,
|
43 |
+
"Glioblastoma": 5,
|
44 |
+
"Granuloma": 6,
|
45 |
+
"Meduloblastoma": 7,
|
46 |
+
"Meningioma": 8,
|
47 |
+
"Neurocitoma": 9,
|
48 |
+
"Oligodendroglioma": 10,
|
49 |
+
"Papiloma": 11,
|
50 |
+
"Schwannoma": 12,
|
51 |
+
"Tuberculoma": 13
|
52 |
+
},
|
53 |
+
"layer_norm_eps": 1e-05,
|
54 |
+
"mlp_ratio": 4.0,
|
55 |
+
"model_type": "swin",
|
56 |
+
"num_channels": 3,
|
57 |
+
"num_heads": [
|
58 |
+
3,
|
59 |
+
6,
|
60 |
+
12,
|
61 |
+
24
|
62 |
+
],
|
63 |
+
"num_layers": 4,
|
64 |
+
"out_features": [
|
65 |
+
"stage4"
|
66 |
+
],
|
67 |
+
"out_indices": [
|
68 |
+
4
|
69 |
+
],
|
70 |
+
"patch_size": 4,
|
71 |
+
"path_norm": true,
|
72 |
+
"problem_type": "single_label_classification",
|
73 |
+
"qkv_bias": true,
|
74 |
+
"stage_names": [
|
75 |
+
"stem",
|
76 |
+
"stage1",
|
77 |
+
"stage2",
|
78 |
+
"stage3",
|
79 |
+
"stage4"
|
80 |
+
],
|
81 |
+
"torch_dtype": "float32",
|
82 |
+
"transformers_version": "4.45.1",
|
83 |
+
"use_absolute_embeddings": false,
|
84 |
+
"window_size": 7
|
85 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d38dee9b1b04abefd758d2f3e703f6b5f9cbbff054f54952f6db13780713ef42
|
3 |
+
size 110379752
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ecc05436a8e75bf12d21014266fcc358a22858984d280acbe1868d04a078691
|
3 |
+
size 5240
|