Commit
·
da09236
1
Parent(s):
5996e99
Model save
Browse files- .gitignore +1 -0
- config.json +36 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/Mar25_03-04-19_58b11b42df35/1679713527.4987571/events.out.tfevents.1679713527.58b11b42df35.491.1 +3 -0
- runs/Mar25_03-04-19_58b11b42df35/events.out.tfevents.1679713527.58b11b42df35.491.0 +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
| 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",
|
| 14 |
+
"2": "Invasive",
|
| 15 |
+
"3": "Normal"
|
| 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 |
+
}
|
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.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
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d0c47c10d2b97f1cbcdb7aa602bb7d71b79b6c2da0cdffdad966d8f871ef834
|
| 3 |
+
size 343274861
|
runs/Mar25_03-04-19_58b11b42df35/1679713527.4987571/events.out.tfevents.1679713527.58b11b42df35.491.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e9b475d523d29903dc63d9b4fff2e78768eb607e6e8e372d3eaae5f1879be2f
|
| 3 |
+
size 5665
|
runs/Mar25_03-04-19_58b11b42df35/events.out.tfevents.1679713527.58b11b42df35.491.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8ded16b331d03e670c7c542ebda4b5c5a1a46e9d072a8cf737b87585eac2896
|
| 3 |
+
size 4849
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:819fe6abf8912e9b499aaf5319a307308d6ab9b09bc0a4618206651720570ad2
|
| 3 |
+
size 3515
|