ohidaoui commited on
Commit
09e12e1
1 Parent(s): 0eb635b

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,12 @@ 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/al_qarawiyyin.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/bab_mansour_el_aleuj.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/chaouara_tannery.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/hassan_tower.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/jamae_el_fna.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/koutoubia_mosque.webp filter=lfs diff=lfs merge=lfs -text
42
+ images/madrasa_ben_youssef.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/majorel_gardens.jpg filter=lfs diff=lfs merge=lfs -text
44
+ images/menara.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: monuments-morocco-v1
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9444444179534912
19
+ ---
20
+
21
+ # monuments-morocco-v1
22
+
23
+
24
+
25
+
26
+ ## Example Images
27
+
28
+
29
+ #### al_qarawiyyin
30
+
31
+ ![al_qarawiyyin](images/al_qarawiyyin.jpg)
32
+
33
+ #### bab_mansour_el_aleuj
34
+
35
+ ![bab_mansour_el_aleuj](images/bab_mansour_el_aleuj.jpg)
36
+
37
+ #### chaouara_tannery
38
+
39
+ ![chaouara_tannery](images/chaouara_tannery.jpg)
40
+
41
+ #### hassan_tower
42
+
43
+ ![hassan_tower](images/hassan_tower.jpg)
44
+
45
+ #### jamae_el_fna
46
+
47
+ ![jamae_el_fna](images/jamae_el_fna.jpg)
48
+
49
+ #### koutoubia_mosque
50
+
51
+ ![koutoubia_mosque](images/koutoubia_mosque.webp)
52
+
53
+ #### madrasa_ben_youssef
54
+
55
+ ![madrasa_ben_youssef](images/madrasa_ben_youssef.jpg)
56
+
57
+ #### majorel_gardens
58
+
59
+ ![majorel_gardens](images/majorel_gardens.jpg)
60
+
61
+ #### menara
62
+
63
+ ![menara](images/menara.jpg)
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "al qarawiyyin",
13
+ "1": "bab mansour el aleuj",
14
+ "2": "chaouara tannery",
15
+ "3": "hassan tower",
16
+ "4": "jamae el fna",
17
+ "5": "koutoubia mosque",
18
+ "6": "madrasa ben youssef",
19
+ "7": "majorel gardens",
20
+ "8": "menara"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "al qarawiyyin": "0",
27
+ "bab mansour el aleuj": "1",
28
+ "chaouara tannery": "2",
29
+ "hassan tower": "3",
30
+ "jamae el fna": "4",
31
+ "koutoubia mosque": "5",
32
+ "madrasa ben youssef": "6",
33
+ "majorel gardens": "7",
34
+ "menara": "8"
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "model_type": "vit",
38
+ "num_attention_heads": 12,
39
+ "num_channels": 3,
40
+ "num_hidden_layers": 12,
41
+ "patch_size": 16,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.31.0"
46
+ }
images/al_qarawiyyin.jpg ADDED

Git LFS Details

  • SHA256: 217aaca3795731f4b500cec7e2af76377cc66c5df0a207e7fe09ef926fdcc3e0
  • Pointer size: 130 Bytes
  • Size of remote file: 47.6 kB
images/bab_mansour_el_aleuj.jpg ADDED

Git LFS Details

  • SHA256: eda57e4b730ffbb7f5bd488a17ee6a61af4087d56f805160c3378dd2954353b1
  • Pointer size: 131 Bytes
  • Size of remote file: 215 kB
images/chaouara_tannery.jpg ADDED

Git LFS Details

  • SHA256: 1e6b3db71c38e200d1f541c7ea1ab2baebf4248f4ec13d94041ff07f1e41e259
  • Pointer size: 131 Bytes
  • Size of remote file: 145 kB
images/hassan_tower.jpg ADDED

Git LFS Details

  • SHA256: 69574292d6b68deb70d9cd8cab70606bf0b37f1d2777d91658d0bce62ff4c898
  • Pointer size: 130 Bytes
  • Size of remote file: 98.9 kB
images/jamae_el_fna.jpg ADDED

Git LFS Details

  • SHA256: db06ae18faa4bf2e3df94160d654f5d5169c9823938d58e0fbb0b1fee47d6506
  • Pointer size: 130 Bytes
  • Size of remote file: 98.5 kB
images/koutoubia_mosque.webp ADDED

Git LFS Details

  • SHA256: d3a7ac3de83791c9c56b80f0a5c6c7271be54a42a37d1bf07f8f05e4a7f60bde
  • Pointer size: 131 Bytes
  • Size of remote file: 250 kB
images/madrasa_ben_youssef.jpg ADDED

Git LFS Details

  • SHA256: 4b9d0b3f4fb80c9c6a3966f5c0e80fca7fb22653066108bd3423e565dbc63089
  • Pointer size: 131 Bytes
  • Size of remote file: 214 kB
images/majorel_gardens.jpg ADDED

Git LFS Details

  • SHA256: 04c62b75cefcbc0ca547b1f2336ba03c7779f2e478027d3c48f0050a6a850d01
  • Pointer size: 130 Bytes
  • Size of remote file: 14.4 kB
images/menara.jpg ADDED

Git LFS Details

  • SHA256: 8b3305144bc4017a5eb5f9aabc67fea0be3ca4c260aa15beef0b40d689bb9b4e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.49 MB
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:f505c120d57cf809f67d247152fed4d4abc61fb9b166ccc1ae0e2657d2a7b7f1
3
+ size 343287469
runs/events.out.tfevents.1689887622.577c2df2c0ad.218.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d6170164ea5d30151354869063c2b5b3edbbdfb8aacee709f464178e8736e3c
3
+ size 1020