Bazzar commited on
Commit
bffee43
1 Parent(s): 30f08b1

Upload 14 files

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: cv_apple_leaf_disease_detection
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9758327603340149
19
+ ---
20
+
21
+ # cv_apple_leaf_disease_detection
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
+ #### Alternaria leaf spot
35
+
36
+ ![Alternaria leaf spot](images/Alternaria_leaf_spot.jpg)
37
+
38
+ #### Brown spot
39
+
40
+ ![Brown spot](images/Brown_spot.jpg)
41
+
42
+ #### Frogeye leaf spot
43
+
44
+ ![Frogeye leaf spot](images/Frogeye_leaf_spot.jpg)
45
+
46
+ #### Grey spot
47
+
48
+ ![Grey spot](images/Grey_spot.jpg)
49
+
50
+ #### Health
51
+
52
+ ![Health](images/Health.jpg)
53
+
54
+ #### Mosaic
55
+
56
+ ![Mosaic](images/Mosaic.jpg)
57
+
58
+ #### Powdery mildew
59
+
60
+ ![Powdery mildew](images/Powdery_mildew.jpg)
61
+
62
+ #### Rust
63
+
64
+ ![Rust](images/Rust.jpg)
65
+
66
+ #### Scab
67
+
68
+ ![Scab](images/Scab.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": "Alternaria leaf spot",
13
+ "1": "Brown spot",
14
+ "2": "Frogeye leaf spot",
15
+ "3": "Grey spot",
16
+ "4": "Health",
17
+ "5": "Mosaic",
18
+ "6": "Powdery mildew",
19
+ "7": "Rust",
20
+ "8": "Scab"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "Alternaria leaf spot": "0",
27
+ "Brown spot": "1",
28
+ "Frogeye leaf spot": "2",
29
+ "Grey spot": "3",
30
+ "Health": "4",
31
+ "Mosaic": "5",
32
+ "Powdery mildew": "6",
33
+ "Rust": "7",
34
+ "Scab": "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.33.0"
46
+ }
images/Alternaria_leaf_spot.jpg ADDED
images/Brown_spot.jpg ADDED
images/Frogeye_leaf_spot.jpg ADDED
images/Grey_spot.jpg ADDED
images/Health.jpg ADDED
images/Mosaic.jpg ADDED
images/Powdery_mildew.jpg ADDED
images/Rust.jpg ADDED
images/Scab.jpg ADDED
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:f8bc502514c1c6d8c711cfa1707dda3efe9216cde7439c46a6825f5509c14004
3
+ size 343287469
runs/events.out.tfevents.1694075527.gpu1.3029.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1d20f170c8eae13ec85a4b0e4669df45f6e591b8b501714dd232fe4a70cbcb6
3
+ size 109765