tcvrishank commited on
Commit
dcd29bb
·
1 Parent(s): c5dda30

Model save

Browse files
config.json CHANGED
@@ -1,10 +1,18 @@
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,21 +24,37 @@
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
  }
 
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
  },
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
  }
preprocessor_config.json CHANGED
@@ -3,17 +3,17 @@
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,
 
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,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c471f3f0989e3f578bcdbec37e997713a27ef8b2398efc93d21a3f256940abb6
3
- size 343274861
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e65885ec333732fc387afcd561cb3b5861b58cdb56f0c2565324c511bb602bc8
3
+ size 110401009
runs/Mar27_19-33-08_8e0bcd61d5b3/1679945900.3141701/events.out.tfevents.1679945900.8e0bcd61d5b3.23.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34b8458e2234d831aee1d7c619944938ce989693317c4f36c87f685f22300c3b
3
+ size 5680
runs/Mar27_19-33-08_8e0bcd61d5b3/events.out.tfevents.1679945900.8e0bcd61d5b3.23.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbf2e8cc3d7d13e0578b642b74e1678d18ad5c4c15cda2c82eb14e59fa577ef4
3
+ size 5501
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2e6a475e03a3774b76603130b3a9e691e03326e6f09b5b70955df834acfb80a
3
  size 3515
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1fe460d92a5d2385b40a02a7e19741e85bf97fe9924665b5862d9e466b9766c
3
  size 3515