parhamjanjan87 commited on
Commit
a218b97
·
1 Parent(s): 7d6171a

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ images/glioma-tomur.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/hipofiz-tomur.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/meningioma-tumor.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/no-tomur.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: Tomur-Classification
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9617117047309875
19
+ ---
20
+
21
+ # Tomur-Classification
22
+
23
+
24
+
25
+ ## Example Images
26
+
27
+
28
+ #### glioma-tomur
29
+
30
+ ![glioma-tomur](images/glioma-tomur.jpg)
31
+
32
+ #### hipofiz-tomur
33
+
34
+ ![hipofiz-tomur](images/hipofiz-tomur.jpg)
35
+
36
+ #### meningioma-tumor
37
+
38
+ ![meningioma-tumor](images/meningioma-tumor.jpg)
39
+
40
+ #### no-tomur
41
+
42
+ ![no-tomur](images/no-tomur.jpg)
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": "glioma-tomur",
13
+ "1": "hipofiz-tomur",
14
+ "2": "meningioma-tumor",
15
+ "3": "no-tomur"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "glioma-tomur": "0",
22
+ "hipofiz-tomur": "1",
23
+ "meningioma-tumor": "2",
24
+ "no-tomur": "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.34.1"
36
+ }
images/glioma-tomur.jpg ADDED

Git LFS Details

  • SHA256: db517ab8aaffe11a81b110c4900dfe1e197853faa4fb1b3c824bd696d9c39d69
  • Pointer size: 130 Bytes
  • Size of remote file: 21.2 kB
images/hipofiz-tomur.jpg ADDED

Git LFS Details

  • SHA256: 66992eca54a17cd33dca57590925193da7c675e221dfaadcfc4c634b76a9ebf1
  • Pointer size: 130 Bytes
  • Size of remote file: 29.6 kB
images/meningioma-tumor.jpg ADDED

Git LFS Details

  • SHA256: fce25282f9c298280721e6608db8dd49289984e7004b61c4dd142d442735ecce
  • Pointer size: 130 Bytes
  • Size of remote file: 22.7 kB
images/no-tomur.jpg ADDED

Git LFS Details

  • SHA256: 1f157cd64610853d031b7b98fb5cabcfc7f589fe3ac1d425f17d4f3fb999ba7e
  • Pointer size: 130 Bytes
  • Size of remote file: 35.8 kB
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:e5c35361b54a8e3507623a17a0f97a2cbde7de03b5f5bb1ae06c5de854450dc2
3
+ size 343272109
runs/events.out.tfevents.1697724300.6b0ec1d3c701.5017.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80af82868a871787f6735a488939e8ca6c17c8664a1c459b385ad1addeffb576
3
+ size 3262