tcvrishank commited on
Commit
1679919
1 Parent(s): 30f306a

Model save

Browse files
all_results.json CHANGED
@@ -1,8 +1,13 @@
1
  {
2
- "epoch": 10.0,
3
- "total_flos": 9.942951223296e+16,
4
- "train_loss": 0.5497611045837403,
5
- "train_runtime": 245.3761,
6
- "train_samples_per_second": 16.302,
7
- "train_steps_per_second": 0.285
 
 
 
 
 
8
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.8625,
4
+ "eval_loss": 0.3848486542701721,
5
+ "eval_runtime": 3.7207,
6
+ "eval_samples_per_second": 21.501,
7
+ "eval_steps_per_second": 2.688,
8
+ "total_flos": 7.9543609786368e+16,
9
+ "train_loss": 0.7504995593002864,
10
+ "train_runtime": 163.9569,
11
+ "train_samples_per_second": 19.517,
12
+ "train_steps_per_second": 0.342
13
  }
config.json CHANGED
@@ -1,18 +1,10 @@
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,
@@ -24,37 +16,21 @@
24
  },
25
  "image_size": 224,
26
  "initializer_range": 0.02,
 
27
  "label2id": {
28
  "Benign": "0",
29
  "InSitu": "1",
30
  "Invasive": "2",
31
  "Normal": "3"
32
  },
33
- "layer_norm_eps": 1e-05,
34
- "mlp_ratio": 4.0,
35
- "model_type": "swin",
36
  "num_channels": 3,
37
- "num_heads": [
38
- 3,
39
- 6,
40
- 12,
41
- 24
42
- ],
43
- "num_layers": 4,
44
- "out_features": null,
45
- "patch_size": 4,
46
- "path_norm": true,
47
  "problem_type": "single_label_classification",
48
  "qkv_bias": true,
49
- "stage_names": [
50
- "stem",
51
- "stage1",
52
- "stage2",
53
- "stage3",
54
- "stage4"
55
- ],
56
  "torch_dtype": "float32",
57
- "transformers_version": "4.26.1",
58
- "use_absolute_embeddings": false,
59
- "window_size": 7
60
  }
 
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,
 
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 ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.8625,
4
+ "eval_loss": 0.3848486542701721,
5
+ "eval_runtime": 3.7207,
6
+ "eval_samples_per_second": 21.501,
7
+ "eval_steps_per_second": 2.688
8
+ }
preprocessor_config.json CHANGED
@@ -3,17 +3,17 @@
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,
 
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,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1760ab87d9fc61e87305174b8418a0b5a986c2b6fd39ac873df7328c1c3a870
3
- size 110401009
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c471f3f0989e3f578bcdbec37e997713a27ef8b2398efc93d21a3f256940abb6
3
+ size 343274861
runs/Mar25_20-32-20_828e34389393/events.out.tfevents.1679776575.828e34389393.24.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40883f21a16b023bed69602ebee2f9bd87c0bd55a6675db96d4c25429f61c600
3
+ size 674
runs/Mar25_20-37-05_828e34389393/1679776639.1080477/events.out.tfevents.1679776639.828e34389393.24.13 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c9a205860d0bdbd776f7b54791f419b88b0f67a91b05b5fd00d32940133e4e2
3
+ size 5680
runs/Mar25_20-37-05_828e34389393/events.out.tfevents.1679776639.828e34389393.24.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38f9471cc02c83df7466bd867cf79622312fc155925c0e46c0c1eb445234a44f
3
+ size 5248
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 10.0,
3
- "total_flos": 9.942951223296e+16,
4
- "train_loss": 0.5497611045837403,
5
- "train_runtime": 245.3761,
6
- "train_samples_per_second": 16.302,
7
- "train_steps_per_second": 0.285
8
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "total_flos": 7.9543609786368e+16,
4
+ "train_loss": 0.7504995593002864,
5
+ "train_runtime": 163.9569,
6
+ "train_samples_per_second": 19.517,
7
+ "train_steps_per_second": 0.342
8
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be429cf83c4a1330a71546e58700666e2294f97073b6f173aa763fc1f9513c0b
3
  size 3515
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2e6a475e03a3774b76603130b3a9e691e03326e6f09b5b70955df834acfb80a
3
  size 3515