Initial commit from mrm8488
Browse files- config.json +41 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1631010011.b31d545ccd8e.75.0 +3 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.0,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "dyed-lifted-polyps",
|
12 |
+
"1": "dyed-resection-margins",
|
13 |
+
"2": "esophagitis",
|
14 |
+
"3": "normal-cecum",
|
15 |
+
"4": "normal-pylorus",
|
16 |
+
"5": "normal-z-line",
|
17 |
+
"6": "polyps",
|
18 |
+
"7": "ulcerative-colitis"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"dyed-lifted-polyps": "0",
|
25 |
+
"dyed-resection-margins": "1",
|
26 |
+
"esophagitis": "2",
|
27 |
+
"normal-cecum": "3",
|
28 |
+
"normal-pylorus": "4",
|
29 |
+
"normal-z-line": "5",
|
30 |
+
"polyps": "6",
|
31 |
+
"ulcerative-colitis": "7"
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"model_type": "vit",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_channels": 3,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"patch_size": 16,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.10.0"
|
41 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_std": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"resample": 2,
|
16 |
+
"size": 224
|
17 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c76bb3892b454a5497a56ddea7de1d48d8a7d2f622cf6b51d9d56e1783981c88
|
3 |
+
size 343298289
|
runs/events.out.tfevents.1631010011.b31d545ccd8e.75.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08edda2f5c9aa4fc447d5d4e143354f4489318a6ad65a988406c3d104da786a8
|
3 |
+
size 5071
|