tcvrishank
commited on
Commit
•
fe30056
1
Parent(s):
2b23115
Model save
Browse files- all_results.json +11 -11
- config.json +11 -58
- eval_results.json +6 -6
- preprocessor_config.json +9 -10
- pytorch_model.bin +2 -2
- runs/Mar25_20-19-42_828e34389393/events.out.tfevents.1679775793.828e34389393.24.5 +3 -0
- runs/Mar25_20-23-45_828e34389393/1679775836.194679/events.out.tfevents.1679775836.828e34389393.24.7 +3 -0
- runs/Mar25_20-23-45_828e34389393/events.out.tfevents.1679775836.828e34389393.24.6 +3 -0
- train_results.json +6 -6
- training_args.bin +1 -1
all_results.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
-
"total_flos": 3.
|
9 |
-
"train_loss":
|
10 |
-
"train_runtime":
|
11 |
-
"train_samples_per_second":
|
12 |
-
"train_steps_per_second": 0.
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"eval_accuracy": 0.65,
|
4 |
+
"eval_loss": 0.8501228094100952,
|
5 |
+
"eval_runtime": 4.6045,
|
6 |
+
"eval_samples_per_second": 17.374,
|
7 |
+
"eval_steps_per_second": 2.172,
|
8 |
+
"total_flos": 3.133541449728e+16,
|
9 |
+
"train_loss": 1.137827001299177,
|
10 |
+
"train_runtime": 183.2231,
|
11 |
+
"train_samples_per_second": 10.916,
|
12 |
+
"train_steps_per_second": 0.191
|
13 |
}
|
config.json
CHANGED
@@ -1,32 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
-
"
|
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 |
-
"
|
25 |
-
32,
|
26 |
-
64,
|
27 |
-
160,
|
28 |
-
256
|
29 |
-
],
|
30 |
"id2label": {
|
31 |
"0": "Benign",
|
32 |
"1": "InSitu",
|
@@ -35,49 +16,21 @@
|
|
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-
|
45 |
-
"
|
46 |
-
|
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 |
-
"
|
60 |
-
"
|
61 |
-
7,
|
62 |
-
3,
|
63 |
-
3,
|
64 |
-
3
|
65 |
-
],
|
66 |
"problem_type": "single_label_classification",
|
67 |
-
"
|
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 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "tcvrishank/histo_train_vit",
|
3 |
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
11 |
"id2label": {
|
12 |
"0": "Benign",
|
13 |
"1": "InSitu",
|
|
|
16 |
},
|
17 |
"image_size": 224,
|
18 |
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
"Benign": "0",
|
22 |
"InSitu": "1",
|
23 |
"Invasive": "2",
|
24 |
"Normal": "3"
|
25 |
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"model_type": "vit",
|
28 |
+
"num_attention_heads": 12,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"num_channels": 3,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"patch_size": 16,
|
|
|
|
|
|
|
|
|
|
|
32 |
"problem_type": "single_label_classification",
|
33 |
+
"qkv_bias": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.26.1"
|
36 |
}
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"eval_accuracy": 0.65,
|
4 |
+
"eval_loss": 0.8501228094100952,
|
5 |
+
"eval_runtime": 4.6045,
|
6 |
+
"eval_samples_per_second": 17.374,
|
7 |
+
"eval_steps_per_second": 2.172
|
8 |
}
|
preprocessor_config.json
CHANGED
@@ -1,23 +1,22 @@
|
|
1 |
{
|
2 |
"do_normalize": true,
|
3 |
-
"do_reduce_labels": false,
|
4 |
"do_rescale": true,
|
5 |
"do_resize": true,
|
6 |
"image_mean": [
|
7 |
-
0.
|
8 |
-
0.
|
9 |
-
0.
|
10 |
],
|
11 |
-
"image_processor_type": "
|
12 |
"image_std": [
|
13 |
-
0.
|
14 |
-
0.
|
15 |
-
0.
|
16 |
],
|
17 |
"resample": 2,
|
18 |
"rescale_factor": 0.00392156862745098,
|
19 |
"size": {
|
20 |
-
"height":
|
21 |
-
"width":
|
22 |
}
|
23 |
}
|
|
|
1 |
{
|
2 |
"do_normalize": true,
|
|
|
3 |
"do_rescale": true,
|
4 |
"do_resize": true,
|
5 |
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
],
|
16 |
"resample": 2,
|
17 |
"rescale_factor": 0.00392156862745098,
|
18 |
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
}
|
22 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52b81b9436f28f788ea36ab0eaab1e7c2e9cc6cd58230462018bb07f2cd552fc
|
3 |
+
size 343274861
|
runs/Mar25_20-19-42_828e34389393/events.out.tfevents.1679775793.828e34389393.24.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1b53d511d277e33b77011a080cd66205daacc4df39a897133853c3b6c5a562c
|
3 |
+
size 357
|
runs/Mar25_20-23-45_828e34389393/1679775836.194679/events.out.tfevents.1679775836.828e34389393.24.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73ea88d265ba380c7a2d534808d465ca2b80b0498182402c250acb2fc892453b
|
3 |
+
size 5695
|
runs/Mar25_20-23-45_828e34389393/events.out.tfevents.1679775836.828e34389393.24.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e81a546f1f9c906448e5755520b6567f3016f4dcf6ba6432a82e5270aad4a0ea
|
3 |
+
size 5109
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos": 3.
|
4 |
-
"train_loss":
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"total_flos": 3.133541449728e+16,
|
4 |
+
"train_loss": 1.137827001299177,
|
5 |
+
"train_runtime": 183.2231,
|
6 |
+
"train_samples_per_second": 10.916,
|
7 |
+
"train_steps_per_second": 0.191
|
8 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3515
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51c784bcfe84093acfb329ab8cdd8aa46a6c4c20bd94e51587d2a6380e8a07ff
|
3 |
size 3515
|