umutbozdag
commited on
Commit
•
dbe074c
1
Parent(s):
01ee5ac
commit files to HF hub
Browse files- .gitattributes +20 -0
- README.md +112 -0
- config.json +68 -0
- images/Aloe_vera.jpg +3 -0
- images/Bamboo.jpg +3 -0
- images/Basil.jpg +3 -0
- images/Boston_fern.jpg +3 -0
- images/English_ivy.jpg +3 -0
- images/Ficus.jpg +3 -0
- images/Fiddle_leaf_fig.jpg +3 -0
- images/Lavender.jpg +3 -0
- images/Mint.jpg +3 -0
- images/Monstera_deliciosa.jpg +3 -0
- images/Orchids.jpg +3 -0
- images/Peace_lily.jpg +3 -0
- images/Philodendron.jpg +3 -0
- images/Pothos.jpg +3 -0
- images/Rosemary.jpg +3 -0
- images/Rubber_plant.jpg +3 -0
- images/Snake_plant.jpg +3 -0
- images/Spider_plant.jpg +3 -0
- images/Succulents.jpg +3 -0
- images/ZZ_plant.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1722088897.35d6deb89e8c.1729.1 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,23 @@ 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/Aloe_vera.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Bamboo.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Basil.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Boston_fern.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/English_ivy.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/Ficus.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/Fiddle_leaf_fig.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/Lavender.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/Mint.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
images/Monstera_deliciosa.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
images/Orchids.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
images/Peace_lily.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
images/Philodendron.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
images/Pothos.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
images/Rosemary.jpg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
images/Rubber_plant.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
images/Snake_plant.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
images/Spider_plant.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
images/Succulents.jpg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
images/ZZ_plant.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: plant-identity
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.6902050375938416
|
19 |
+
---
|
20 |
+
|
21 |
+
# plant-identity
|
22 |
+
|
23 |
+
|
24 |
+
Autogenerated by HuggingPics🤗🖼️
|
25 |
+
|
26 |
+
Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
|
27 |
+
|
28 |
+
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
|
29 |
+
|
30 |
+
|
31 |
+
## Example Images
|
32 |
+
|
33 |
+
|
34 |
+
#### Aloe vera
|
35 |
+
|
36 |
+
![Aloe vera](images/Aloe_vera.jpg)
|
37 |
+
|
38 |
+
#### Bamboo
|
39 |
+
|
40 |
+
![Bamboo](images/Bamboo.jpg)
|
41 |
+
|
42 |
+
#### Basil
|
43 |
+
|
44 |
+
![Basil](images/Basil.jpg)
|
45 |
+
|
46 |
+
#### Boston fern
|
47 |
+
|
48 |
+
![Boston fern](images/Boston_fern.jpg)
|
49 |
+
|
50 |
+
#### English ivy
|
51 |
+
|
52 |
+
![English ivy](images/English_ivy.jpg)
|
53 |
+
|
54 |
+
#### Ficus
|
55 |
+
|
56 |
+
![Ficus](images/Ficus.jpg)
|
57 |
+
|
58 |
+
#### Fiddle leaf fig
|
59 |
+
|
60 |
+
![Fiddle leaf fig](images/Fiddle_leaf_fig.jpg)
|
61 |
+
|
62 |
+
#### Lavender
|
63 |
+
|
64 |
+
![Lavender](images/Lavender.jpg)
|
65 |
+
|
66 |
+
#### Mint
|
67 |
+
|
68 |
+
![Mint](images/Mint.jpg)
|
69 |
+
|
70 |
+
#### Monstera deliciosa
|
71 |
+
|
72 |
+
![Monstera deliciosa](images/Monstera_deliciosa.jpg)
|
73 |
+
|
74 |
+
#### Orchids
|
75 |
+
|
76 |
+
![Orchids](images/Orchids.jpg)
|
77 |
+
|
78 |
+
#### Peace lily
|
79 |
+
|
80 |
+
![Peace lily](images/Peace_lily.jpg)
|
81 |
+
|
82 |
+
#### Philodendron
|
83 |
+
|
84 |
+
![Philodendron](images/Philodendron.jpg)
|
85 |
+
|
86 |
+
#### Pothos
|
87 |
+
|
88 |
+
![Pothos](images/Pothos.jpg)
|
89 |
+
|
90 |
+
#### Rosemary
|
91 |
+
|
92 |
+
![Rosemary](images/Rosemary.jpg)
|
93 |
+
|
94 |
+
#### Rubber plant
|
95 |
+
|
96 |
+
![Rubber plant](images/Rubber_plant.jpg)
|
97 |
+
|
98 |
+
#### Snake plant
|
99 |
+
|
100 |
+
![Snake plant](images/Snake_plant.jpg)
|
101 |
+
|
102 |
+
#### Spider plant
|
103 |
+
|
104 |
+
![Spider plant](images/Spider_plant.jpg)
|
105 |
+
|
106 |
+
#### Succulents
|
107 |
+
|
108 |
+
![Succulents](images/Succulents.jpg)
|
109 |
+
|
110 |
+
#### ZZ plant
|
111 |
+
|
112 |
+
![ZZ plant](images/ZZ_plant.jpg)
|
config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Aloe vera",
|
13 |
+
"1": "Bamboo",
|
14 |
+
"10": "Orchids",
|
15 |
+
"11": "Peace lily",
|
16 |
+
"12": "Philodendron",
|
17 |
+
"13": "Pothos",
|
18 |
+
"14": "Rosemary",
|
19 |
+
"15": "Rubber plant",
|
20 |
+
"16": "Snake plant",
|
21 |
+
"17": "Spider plant",
|
22 |
+
"18": "Succulents",
|
23 |
+
"19": "ZZ plant",
|
24 |
+
"2": "Basil",
|
25 |
+
"3": "Boston fern",
|
26 |
+
"4": "English ivy",
|
27 |
+
"5": "Ficus",
|
28 |
+
"6": "Fiddle leaf fig",
|
29 |
+
"7": "Lavender",
|
30 |
+
"8": "Mint",
|
31 |
+
"9": "Monstera deliciosa"
|
32 |
+
},
|
33 |
+
"image_size": 224,
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"Aloe vera": "0",
|
38 |
+
"Bamboo": "1",
|
39 |
+
"Basil": "2",
|
40 |
+
"Boston fern": "3",
|
41 |
+
"English ivy": "4",
|
42 |
+
"Ficus": "5",
|
43 |
+
"Fiddle leaf fig": "6",
|
44 |
+
"Lavender": "7",
|
45 |
+
"Mint": "8",
|
46 |
+
"Monstera deliciosa": "9",
|
47 |
+
"Orchids": "10",
|
48 |
+
"Peace lily": "11",
|
49 |
+
"Philodendron": "12",
|
50 |
+
"Pothos": "13",
|
51 |
+
"Rosemary": "14",
|
52 |
+
"Rubber plant": "15",
|
53 |
+
"Snake plant": "16",
|
54 |
+
"Spider plant": "17",
|
55 |
+
"Succulents": "18",
|
56 |
+
"ZZ plant": "19"
|
57 |
+
},
|
58 |
+
"layer_norm_eps": 1e-12,
|
59 |
+
"model_type": "vit",
|
60 |
+
"num_attention_heads": 12,
|
61 |
+
"num_channels": 3,
|
62 |
+
"num_hidden_layers": 12,
|
63 |
+
"patch_size": 16,
|
64 |
+
"problem_type": "single_label_classification",
|
65 |
+
"qkv_bias": true,
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.42.4"
|
68 |
+
}
|
images/Aloe_vera.jpg
ADDED
Git LFS Details
|
images/Bamboo.jpg
ADDED
Git LFS Details
|
images/Basil.jpg
ADDED
Git LFS Details
|
images/Boston_fern.jpg
ADDED
Git LFS Details
|
images/English_ivy.jpg
ADDED
Git LFS Details
|
images/Ficus.jpg
ADDED
Git LFS Details
|
images/Fiddle_leaf_fig.jpg
ADDED
Git LFS Details
|
images/Lavender.jpg
ADDED
Git LFS Details
|
images/Mint.jpg
ADDED
Git LFS Details
|
images/Monstera_deliciosa.jpg
ADDED
Git LFS Details
|
images/Orchids.jpg
ADDED
Git LFS Details
|
images/Peace_lily.jpg
ADDED
Git LFS Details
|
images/Philodendron.jpg
ADDED
Git LFS Details
|
images/Pothos.jpg
ADDED
Git LFS Details
|
images/Rosemary.jpg
ADDED
Git LFS Details
|
images/Rubber_plant.jpg
ADDED
Git LFS Details
|
images/Snake_plant.jpg
ADDED
Git LFS Details
|
images/Spider_plant.jpg
ADDED
Git LFS Details
|
images/Succulents.jpg
ADDED
Git LFS Details
|
images/ZZ_plant.jpg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a01adfbb2ca2e3706a0e884314b168ed7c17aa2acb648a49af7747dd3396c1cd
|
3 |
+
size 343279344
|
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.1722088897.35d6deb89e8c.1729.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:213adef5f3ec7bd31fbde5675ad3ea75a839a30d466f8c7ddd8e7a9efc2f80b5
|
3 |
+
size 3169
|