ashutoshsharma58
commited on
Commit
•
1bf68df
1
Parent(s):
7e44097
commit files to HF hub
Browse files- .gitattributes +5 -0
- README.md +50 -0
- config.json +38 -0
- images/Buildings.jpg +3 -0
- images/Forest.jpg +3 -0
- images/Glacier.jpg +3 -0
- images/Mountain.jpg +3 -0
- images/Sea.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1704536961.436dde336788.1566.0 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,8 @@ 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/Buildings.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Forest.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Glacier.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Mountain.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/Sea.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: scenery3214154
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.8660714030265808
|
19 |
+
---
|
20 |
+
|
21 |
+
# scenery3214154
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
## Example Images
|
30 |
+
|
31 |
+
|
32 |
+
#### Buildings
|
33 |
+
|
34 |
+
![Buildings](images/Buildings.jpg)
|
35 |
+
|
36 |
+
#### Forest
|
37 |
+
|
38 |
+
![Forest](images/Forest.jpg)
|
39 |
+
|
40 |
+
#### Glacier
|
41 |
+
|
42 |
+
![Glacier](images/Glacier.jpg)
|
43 |
+
|
44 |
+
#### Mountain
|
45 |
+
|
46 |
+
![Mountain](images/Mountain.jpg)
|
47 |
+
|
48 |
+
#### Sea
|
49 |
+
|
50 |
+
![Sea](images/Sea.jpg)
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Buildings",
|
13 |
+
"1": "Forest",
|
14 |
+
"2": "Glacier",
|
15 |
+
"3": "Mountain",
|
16 |
+
"4": "Sea"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"Buildings": "0",
|
23 |
+
"Forest": "1",
|
24 |
+
"Glacier": "2",
|
25 |
+
"Mountain": "3",
|
26 |
+
"Sea": "4"
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"model_type": "vit",
|
30 |
+
"num_attention_heads": 12,
|
31 |
+
"num_channels": 3,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
+
"patch_size": 16,
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"qkv_bias": true,
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.35.2"
|
38 |
+
}
|
images/Buildings.jpg
ADDED
Git LFS Details
|
images/Forest.jpg
ADDED
Git LFS Details
|
images/Glacier.jpg
ADDED
Git LFS Details
|
images/Mountain.jpg
ADDED
Git LFS Details
|
images/Sea.jpg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24bd4598c03a88b599ca3b02d1915ebdadef116f28dea1db06a7908d3f608a75
|
3 |
+
size 343233204
|
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 |
+
}
|
runs/events.out.tfevents.1704536961.436dde336788.1566.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9b94ff6243e1b95a13c49da25353831b19cd20334d7fc813a62d05f1cf1d4c5
|
3 |
+
size 1492
|