commit files to HF hub
Browse files- .gitattributes +9 -0
- README.md +63 -0
- config.json +46 -0
- images/al_qarawiyyin.jpg +3 -0
- images/bab_mansour_el_aleuj.jpg +3 -0
- images/chaouara_tannery.jpg +3 -0
- images/hassan_tower.jpg +3 -0
- images/jamae_el_fna.jpg +3 -0
- images/koutoubia_mosque.webp +3 -0
- images/madrasa_ben_youssef.jpg +3 -0
- images/majorel_gardens.jpg +3 -0
- images/menara.jpg +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1689887622.577c2df2c0ad.218.0 +3 -0
.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
|
images/bab_mansour_el_aleuj.jpg
ADDED
Git LFS Details
|
images/chaouara_tannery.jpg
ADDED
Git LFS Details
|
images/hassan_tower.jpg
ADDED
Git LFS Details
|
images/jamae_el_fna.jpg
ADDED
Git LFS Details
|
images/koutoubia_mosque.webp
ADDED
Git LFS Details
|
images/madrasa_ben_youssef.jpg
ADDED
Git LFS Details
|
images/majorel_gardens.jpg
ADDED
Git LFS Details
|
images/menara.jpg
ADDED
Git LFS Details
|
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
|