Commit
·
c5f4ae0
1
Parent(s):
841be4d
Model save
Browse files- .gitignore +1 -0
- config.json +36 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/Mar24_05-54-12_9dfcedc904d2/1679637289.2618806/events.out.tfevents.1679637289.9dfcedc904d2.3378.4 +3 -0
- runs/Mar24_05-54-12_9dfcedc904d2/events.out.tfevents.1679637289.9dfcedc904d2.3378.3 +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:c5884175845af56294a4cc5687f55a93406a265efd04a0ff576adc64b1b61e11
|
| 3 |
+
size 343274861
|
runs/Mar24_05-54-12_9dfcedc904d2/1679637289.2618806/events.out.tfevents.1679637289.9dfcedc904d2.3378.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6af96331889b0f36d5c7507a4859938dead2469185d2ba26eff60fe4a6feee93
|
| 3 |
+
size 5641
|
runs/Mar24_05-54-12_9dfcedc904d2/events.out.tfevents.1679637289.9dfcedc904d2.3378.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52267f09eb0da0d627465fcc50838f9fce44cf6c2e623930baae74a84c829d56
|
| 3 |
+
size 4594
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74f86a41967295ab81c196b8c6f1092dd8403f2b89e2969903a8b39da778d985
|
| 3 |
+
size 3451
|