tcvrishank
commited on
Commit
•
8ed5710
1
Parent(s):
b8fc480
Model save
Browse files- .gitignore +1 -0
- config.json +83 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
- runs/Mar25_03-32-41_58b11b42df35/1679715266.7540135/events.out.tfevents.1679715266.58b11b42df35.3945.1 +3 -0
- runs/Mar25_03-32-41_58b11b42df35/events.out.tfevents.1679715266.58b11b42df35.3945.0 +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/mit-b0",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 256,
|
9 |
+
"depths": [
|
10 |
+
2,
|
11 |
+
2,
|
12 |
+
2,
|
13 |
+
2
|
14 |
+
],
|
15 |
+
"downsampling_rates": [
|
16 |
+
1,
|
17 |
+
4,
|
18 |
+
8,
|
19 |
+
16
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
22 |
+
"hidden_act": "gelu",
|
23 |
+
"hidden_dropout_prob": 0.0,
|
24 |
+
"hidden_sizes": [
|
25 |
+
32,
|
26 |
+
64,
|
27 |
+
160,
|
28 |
+
256
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"0": "Benign",
|
32 |
+
"1": "InSitu",
|
33 |
+
"2": "Invasive",
|
34 |
+
"3": "Normal"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"label2id": {
|
39 |
+
"Benign": "0",
|
40 |
+
"InSitu": "1",
|
41 |
+
"Invasive": "2",
|
42 |
+
"Normal": "3"
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-06,
|
45 |
+
"mlp_ratios": [
|
46 |
+
4,
|
47 |
+
4,
|
48 |
+
4,
|
49 |
+
4
|
50 |
+
],
|
51 |
+
"model_type": "segformer",
|
52 |
+
"num_attention_heads": [
|
53 |
+
1,
|
54 |
+
2,
|
55 |
+
5,
|
56 |
+
8
|
57 |
+
],
|
58 |
+
"num_channels": 3,
|
59 |
+
"num_encoder_blocks": 4,
|
60 |
+
"patch_sizes": [
|
61 |
+
7,
|
62 |
+
3,
|
63 |
+
3,
|
64 |
+
3
|
65 |
+
],
|
66 |
+
"problem_type": "single_label_classification",
|
67 |
+
"reshape_last_stage": true,
|
68 |
+
"semantic_loss_ignore_index": 255,
|
69 |
+
"sr_ratios": [
|
70 |
+
8,
|
71 |
+
4,
|
72 |
+
2,
|
73 |
+
1
|
74 |
+
],
|
75 |
+
"strides": [
|
76 |
+
4,
|
77 |
+
2,
|
78 |
+
2,
|
79 |
+
2
|
80 |
+
],
|
81 |
+
"torch_dtype": "float32",
|
82 |
+
"transformers_version": "4.26.1"
|
83 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_reduce_labels": false,
|
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": "SegformerImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 512,
|
21 |
+
"width": 512
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06bc332622d6aba82ff3064077122eca4c3d4603b3fa71c24c911cb08328e3f3
|
3 |
+
size 13348117
|
runs/Mar25_03-32-41_58b11b42df35/1679715266.7540135/events.out.tfevents.1679715266.58b11b42df35.3945.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0523c80eb1d754fde9cac90ab317d3143f9f3da6f477591e72865758bb16846c
|
3 |
+
size 5695
|
runs/Mar25_03-32-41_58b11b42df35/events.out.tfevents.1679715266.58b11b42df35.3945.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a0caf58771e50d4699de79fd460ce193cc027aaf7e1f523060fc9192f094e02
|
3 |
+
size 5336
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7036257b48412d1ae7fe5d9bbd74771168b263b9761a18260cbb7c5731bf5fc
|
3 |
+
size 3515
|