commit files to HF hub
Browse files- .gitattributes +14 -0
- README.md +86 -0
- config.json +56 -0
- images/Pepper__bell___healthy.jpg +3 -0
- images/Potato___Early_blight.jpg +3 -0
- images/Potato___Late_blight.jpg +3 -0
- images/Potato___healthy.jpg +3 -0
- images/Tomato_Bacterial_spot.jpg +3 -0
- images/Tomato_Early_blight.jpg +3 -0
- images/Tomato_Late_blight.jpg +3 -0
- images/Tomato_Leaf_Mold.jpg +3 -0
- images/Tomato_Septoria_leaf_spot.jpg +3 -0
- images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg +3 -0
- images/Tomato__Target_Spot.jpg +3 -0
- images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg +3 -0
- images/Tomato__Tomato_mosaic_virus.jpg +3 -0
- images/Tomato_healthy.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1727193737.79eb14ac5dad.1356.2 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,17 @@ 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/Pepper__bell___healthy.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Potato___Early_blight.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Potato___Late_blight.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Potato___healthy.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/Tomato_Bacterial_spot.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/Tomato_Early_blight.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/Tomato_Late_blight.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/Tomato_Leaf_Mold.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/Tomato_Septoria_leaf_spot.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
images/Tomato__Target_Spot.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
images/Tomato__Tomato_mosaic_virus.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
images/Tomato_healthy.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: newImageClass
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.9918533563613892
|
19 |
+
---
|
20 |
+
|
21 |
+
# newImageClass
|
22 |
+
|
23 |
+
|
24 |
+
Autogenerated by HuggingPics🤗🖼️
|
25 |
+
|
26 |
+
This model is designed for classifying [YOUR TASK] images. It was fine-tuned using PyTorch Lightning and Hugging Face transformers.
|
27 |
+
|
28 |
+
|
29 |
+
## Example Images
|
30 |
+
|
31 |
+
|
32 |
+
#### Pepper__bell___healthy
|
33 |
+
|
34 |
+
![Pepper__bell___healthy](images/Pepper__bell___healthy.jpg)
|
35 |
+
|
36 |
+
#### Potato___Early_blight
|
37 |
+
|
38 |
+
![Potato___Early_blight](images/Potato___Early_blight.jpg)
|
39 |
+
|
40 |
+
#### Potato___Late_blight
|
41 |
+
|
42 |
+
![Potato___Late_blight](images/Potato___Late_blight.jpg)
|
43 |
+
|
44 |
+
#### Potato___healthy
|
45 |
+
|
46 |
+
![Potato___healthy](images/Potato___healthy.jpg)
|
47 |
+
|
48 |
+
#### Tomato_Bacterial_spot
|
49 |
+
|
50 |
+
![Tomato_Bacterial_spot](images/Tomato_Bacterial_spot.jpg)
|
51 |
+
|
52 |
+
#### Tomato_Early_blight
|
53 |
+
|
54 |
+
![Tomato_Early_blight](images/Tomato_Early_blight.jpg)
|
55 |
+
|
56 |
+
#### Tomato_Late_blight
|
57 |
+
|
58 |
+
![Tomato_Late_blight](images/Tomato_Late_blight.jpg)
|
59 |
+
|
60 |
+
#### Tomato_Leaf_Mold
|
61 |
+
|
62 |
+
![Tomato_Leaf_Mold](images/Tomato_Leaf_Mold.jpg)
|
63 |
+
|
64 |
+
#### Tomato_Septoria_leaf_spot
|
65 |
+
|
66 |
+
![Tomato_Septoria_leaf_spot](images/Tomato_Septoria_leaf_spot.jpg)
|
67 |
+
|
68 |
+
#### Tomato_Spider_mites_Two_spotted_spider_mite
|
69 |
+
|
70 |
+
![Tomato_Spider_mites_Two_spotted_spider_mite](images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg)
|
71 |
+
|
72 |
+
#### Tomato__Target_Spot
|
73 |
+
|
74 |
+
![Tomato__Target_Spot](images/Tomato__Target_Spot.jpg)
|
75 |
+
|
76 |
+
#### Tomato__Tomato_YellowLeaf__Curl_Virus
|
77 |
+
|
78 |
+
![Tomato__Tomato_YellowLeaf__Curl_Virus](images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg)
|
79 |
+
|
80 |
+
#### Tomato__Tomato_mosaic_virus
|
81 |
+
|
82 |
+
![Tomato__Tomato_mosaic_virus](images/Tomato__Tomato_mosaic_virus.jpg)
|
83 |
+
|
84 |
+
#### Tomato_healthy
|
85 |
+
|
86 |
+
![Tomato_healthy](images/Tomato_healthy.jpg)
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Pepper__bell___healthy",
|
13 |
+
"1": "Potato___Early_blight",
|
14 |
+
"10": "Tomato__Target_Spot",
|
15 |
+
"11": "Tomato__Tomato_YellowLeaf__Curl_Virus",
|
16 |
+
"12": "Tomato__Tomato_mosaic_virus",
|
17 |
+
"13": "Tomato_healthy",
|
18 |
+
"2": "Potato___Late_blight",
|
19 |
+
"3": "Potato___healthy",
|
20 |
+
"4": "Tomato_Bacterial_spot",
|
21 |
+
"5": "Tomato_Early_blight",
|
22 |
+
"6": "Tomato_Late_blight",
|
23 |
+
"7": "Tomato_Leaf_Mold",
|
24 |
+
"8": "Tomato_Septoria_leaf_spot",
|
25 |
+
"9": "Tomato_Spider_mites_Two_spotted_spider_mite"
|
26 |
+
},
|
27 |
+
"image_size": 224,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"label2id": {
|
31 |
+
"Pepper__bell___healthy": "0",
|
32 |
+
"Potato___Early_blight": "1",
|
33 |
+
"Potato___Late_blight": "2",
|
34 |
+
"Potato___healthy": "3",
|
35 |
+
"Tomato_Bacterial_spot": "4",
|
36 |
+
"Tomato_Early_blight": "5",
|
37 |
+
"Tomato_Late_blight": "6",
|
38 |
+
"Tomato_Leaf_Mold": "7",
|
39 |
+
"Tomato_Septoria_leaf_spot": "8",
|
40 |
+
"Tomato_Spider_mites_Two_spotted_spider_mite": "9",
|
41 |
+
"Tomato__Target_Spot": "10",
|
42 |
+
"Tomato__Tomato_YellowLeaf__Curl_Virus": "11",
|
43 |
+
"Tomato__Tomato_mosaic_virus": "12",
|
44 |
+
"Tomato_healthy": "13"
|
45 |
+
},
|
46 |
+
"layer_norm_eps": 1e-12,
|
47 |
+
"model_type": "vit",
|
48 |
+
"num_attention_heads": 12,
|
49 |
+
"num_channels": 3,
|
50 |
+
"num_hidden_layers": 12,
|
51 |
+
"patch_size": 16,
|
52 |
+
"problem_type": "single_label_classification",
|
53 |
+
"qkv_bias": true,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.44.2"
|
56 |
+
}
|
images/Pepper__bell___healthy.jpg
ADDED
Git LFS Details
|
images/Potato___Early_blight.jpg
ADDED
Git LFS Details
|
images/Potato___Late_blight.jpg
ADDED
Git LFS Details
|
images/Potato___healthy.jpg
ADDED
Git LFS Details
|
images/Tomato_Bacterial_spot.jpg
ADDED
Git LFS Details
|
images/Tomato_Early_blight.jpg
ADDED
Git LFS Details
|
images/Tomato_Late_blight.jpg
ADDED
Git LFS Details
|
images/Tomato_Leaf_Mold.jpg
ADDED
Git LFS Details
|
images/Tomato_Septoria_leaf_spot.jpg
ADDED
Git LFS Details
|
images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg
ADDED
Git LFS Details
|
images/Tomato__Target_Spot.jpg
ADDED
Git LFS Details
|
images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg
ADDED
Git LFS Details
|
images/Tomato__Tomato_mosaic_virus.jpg
ADDED
Git LFS Details
|
images/Tomato_healthy.jpg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9320f829de7809f1c01e2fb240a4f2ab54372e09e698868486c04704df98e288
|
3 |
+
size 343260888
|
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.1727193737.79eb14ac5dad.1356.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99bd84c000e538582120a25911c8f716a4e28a28adf728863f8e09ffbc870a89
|
3 |
+
size 16375
|