commit files to HF hub
Browse files- .gitattributes +16 -0
- README.md +96 -0
- config.json +60 -0
- images/Anthracnose.jpeg +3 -0
- images/Bacterial_spot.jpeg +3 -0
- images/Black_Rot.jpeg +3 -0
- images/Black_Spot.jpeg +3 -0
- images/Brown_Leaf_Tips.jpeg +3 -0
- images/Downy_Mildew.jpeg +3 -0
- images/Early_Blight.jpeg +3 -0
- images/Healthy.jpeg +3 -0
- images/Late_Blight.jpeg +3 -0
- images/Leaf_Scorch.jpeg +3 -0
- images/Leaf_Spot.jpeg +3 -0
- images/Powdery_Mildew.jpeg +3 -0
- images/Rust.jpeg +3 -0
- images/Spider_Mite.jpeg +3 -0
- images/Wilted_plant.jpeg +3 -0
- images/Yellow_leaves.jpeg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1732025490.725f74c06f87.2809.0 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,19 @@ 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/Anthracnose.jpeg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Bacterial_spot.jpeg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Black_Rot.jpeg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Black_Spot.jpeg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/Brown_Leaf_Tips.jpeg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/Downy_Mildew.jpeg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/Early_Blight.jpeg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/Healthy.jpeg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/Late_Blight.jpeg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
images/Leaf_Scorch.jpeg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
images/Leaf_Spot.jpeg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
images/Powdery_Mildew.jpeg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
images/Rust.jpeg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
images/Spider_Mite.jpeg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
images/Wilted_plant.jpeg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
images/Yellow_leaves.jpeg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: test-plant-disease
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.7927083373069763
|
19 |
+
---
|
20 |
+
|
21 |
+
# test-plant-disease
|
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 |
+
#### Anthracnose
|
35 |
+
|
36 |
+
![Anthracnose](images/Anthracnose.jpeg)
|
37 |
+
|
38 |
+
#### Bacterial_spot
|
39 |
+
|
40 |
+
![Bacterial_spot](images/Bacterial_spot.jpeg)
|
41 |
+
|
42 |
+
#### Black_Rot
|
43 |
+
|
44 |
+
![Black_Rot](images/Black_Rot.jpeg)
|
45 |
+
|
46 |
+
#### Black_Spot
|
47 |
+
|
48 |
+
![Black_Spot](images/Black_Spot.jpeg)
|
49 |
+
|
50 |
+
#### Brown_Leaf_Tips
|
51 |
+
|
52 |
+
![Brown_Leaf_Tips](images/Brown_Leaf_Tips.jpeg)
|
53 |
+
|
54 |
+
#### Downy_Mildew
|
55 |
+
|
56 |
+
![Downy_Mildew](images/Downy_Mildew.jpeg)
|
57 |
+
|
58 |
+
#### Early_Blight
|
59 |
+
|
60 |
+
![Early_Blight](images/Early_Blight.jpeg)
|
61 |
+
|
62 |
+
#### Healthy
|
63 |
+
|
64 |
+
![Healthy](images/Healthy.jpeg)
|
65 |
+
|
66 |
+
#### Late_Blight
|
67 |
+
|
68 |
+
![Late_Blight](images/Late_Blight.jpeg)
|
69 |
+
|
70 |
+
#### Leaf_Scorch
|
71 |
+
|
72 |
+
![Leaf_Scorch](images/Leaf_Scorch.jpeg)
|
73 |
+
|
74 |
+
#### Leaf_Spot
|
75 |
+
|
76 |
+
![Leaf_Spot](images/Leaf_Spot.jpeg)
|
77 |
+
|
78 |
+
#### Powdery_Mildew
|
79 |
+
|
80 |
+
![Powdery_Mildew](images/Powdery_Mildew.jpeg)
|
81 |
+
|
82 |
+
#### Rust
|
83 |
+
|
84 |
+
![Rust](images/Rust.jpeg)
|
85 |
+
|
86 |
+
#### Spider_Mite
|
87 |
+
|
88 |
+
![Spider_Mite](images/Spider_Mite.jpeg)
|
89 |
+
|
90 |
+
#### Wilted_plant
|
91 |
+
|
92 |
+
![Wilted_plant](images/Wilted_plant.jpeg)
|
93 |
+
|
94 |
+
#### Yellow_leaves
|
95 |
+
|
96 |
+
![Yellow_leaves](images/Yellow_leaves.jpeg)
|
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Anthracnose",
|
13 |
+
"1": "Bacterial_spot",
|
14 |
+
"10": "Leaf_Spot",
|
15 |
+
"11": "Powdery_Mildew",
|
16 |
+
"12": "Rust",
|
17 |
+
"13": "Spider_Mite",
|
18 |
+
"14": "Wilted_plant",
|
19 |
+
"15": "Yellow_leaves",
|
20 |
+
"2": "Black_Rot",
|
21 |
+
"3": "Black_Spot",
|
22 |
+
"4": "Brown_Leaf_Tips",
|
23 |
+
"5": "Downy_Mildew",
|
24 |
+
"6": "Early_Blight",
|
25 |
+
"7": "Healthy",
|
26 |
+
"8": "Late_Blight",
|
27 |
+
"9": "Leaf_Scorch"
|
28 |
+
},
|
29 |
+
"image_size": 224,
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 3072,
|
32 |
+
"label2id": {
|
33 |
+
"Anthracnose": "0",
|
34 |
+
"Bacterial_spot": "1",
|
35 |
+
"Black_Rot": "2",
|
36 |
+
"Black_Spot": "3",
|
37 |
+
"Brown_Leaf_Tips": "4",
|
38 |
+
"Downy_Mildew": "5",
|
39 |
+
"Early_Blight": "6",
|
40 |
+
"Healthy": "7",
|
41 |
+
"Late_Blight": "8",
|
42 |
+
"Leaf_Scorch": "9",
|
43 |
+
"Leaf_Spot": "10",
|
44 |
+
"Powdery_Mildew": "11",
|
45 |
+
"Rust": "12",
|
46 |
+
"Spider_Mite": "13",
|
47 |
+
"Wilted_plant": "14",
|
48 |
+
"Yellow_leaves": "15"
|
49 |
+
},
|
50 |
+
"layer_norm_eps": 1e-12,
|
51 |
+
"model_type": "vit",
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_channels": 3,
|
54 |
+
"num_hidden_layers": 12,
|
55 |
+
"patch_size": 16,
|
56 |
+
"problem_type": "single_label_classification",
|
57 |
+
"qkv_bias": true,
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.46.2"
|
60 |
+
}
|
images/Anthracnose.jpeg
ADDED
Git LFS Details
|
images/Bacterial_spot.jpeg
ADDED
Git LFS Details
|
images/Black_Rot.jpeg
ADDED
Git LFS Details
|
images/Black_Spot.jpeg
ADDED
Git LFS Details
|
images/Brown_Leaf_Tips.jpeg
ADDED
Git LFS Details
|
images/Downy_Mildew.jpeg
ADDED
Git LFS Details
|
images/Early_Blight.jpeg
ADDED
Git LFS Details
|
images/Healthy.jpeg
ADDED
Git LFS Details
|
images/Late_Blight.jpeg
ADDED
Git LFS Details
|
images/Leaf_Scorch.jpeg
ADDED
Git LFS Details
|
images/Leaf_Spot.jpeg
ADDED
Git LFS Details
|
images/Powdery_Mildew.jpeg
ADDED
Git LFS Details
|
images/Rust.jpeg
ADDED
Git LFS Details
|
images/Spider_Mite.jpeg
ADDED
Git LFS Details
|
images/Wilted_plant.jpeg
ADDED
Git LFS Details
|
images/Yellow_leaves.jpeg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10c584e063786242b092079c68b00873a0914bb7b72d7a5bdfbb4f16ba76e848
|
3 |
+
size 343267040
|
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.1732025490.725f74c06f87.2809.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2024f50f6c31a7732ec527ffc07db0f315dc7d042e3302bc4266a5801fc80ff0
|
3 |
+
size 10981
|