mmuratarat commited on
Commit
dec7a1e
1 Parent(s): f495a1c

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +44 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./model",
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": "dyed-lifted-polyps",
13
+ "1": "dyed-resection-margins",
14
+ "2": "esophagitis",
15
+ "3": "normal-cecum",
16
+ "4": "normal-pylorus",
17
+ "5": "normal-z-line",
18
+ "6": "polyps",
19
+ "7": "ulcerative-colitis"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "dyed-lifted-polyps": "0",
26
+ "dyed-resection-margins": "1",
27
+ "esophagitis": "2",
28
+ "normal-cecum": "3",
29
+ "normal-pylorus": "4",
30
+ "normal-z-line": "5",
31
+ "polyps": "6",
32
+ "ulcerative-colitis": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.34.0"
44
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fd2526a95c9f4ae4667982d55065588aefc861114f6134e4d8954e0d82a5256
3
+ size 343284397