GeeveGeorge commited on
Commit
3d6b831
·
1 Parent(s): 9b76a43

commit files to HF hub

Browse files
README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ metrics:
6
+ - accuracy
7
+
8
+ model-index:
9
+ - name: Syn10kPlusOG-oct-ViT-Base-8Epochs-v1
10
+ results:
11
+ - task:
12
+ name: Image Classification
13
+ type: image-classification
14
+ metrics:
15
+ - name: Accuracy
16
+ type: accuracy
17
+ value: 0.8866666555404663
18
+ ---
19
+
20
+ # Syn10kPlusOG-oct-ViT-Base-8Epochs-v1
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "oct_images_cnv",
13
+ "1": "oct_images_dme",
14
+ "2": "oct_images_drusen",
15
+ "3": "oct_images_normal"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "oct_images_cnv": "0",
22
+ "oct_images_dme": "1",
23
+ "oct_images_drusen": "2",
24
+ "oct_images_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.18.0"
36
+ }
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:c8303d71a858ae422d9657ed76c791ee12e53a24ddc8cb23014f59ad2fe422b7
3
+ size 343270321
runs/events.out.tfevents.1665980888.6890b63d470c.17.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a175eb5315983851732110b0ae4dead13ef0c5f7ae1b7597bfcc6ef826f4dd0
3
+ size 3015