idoo0 commited on
Commit
a2eefa9
1 Parent(s): fc38468

commit files to HF hub

Browse files
.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

  • SHA256: b3e5cc07bd624aaf9dce6d23ad07cdc291e4c74429ee8dd682ac81b79a4ed9a6
  • Pointer size: 129 Bytes
  • Size of remote file: 9.34 kB
images/Bacterial_spot.jpeg ADDED

Git LFS Details

  • SHA256: 005e30c5f2267ba8aab55209df8b582ef37ecb84e1d46a3dda3556a623064cb2
  • Pointer size: 130 Bytes
  • Size of remote file: 14.8 kB
images/Black_Rot.jpeg ADDED

Git LFS Details

  • SHA256: 5487c67a323986fae6bdf7dc250949a0a17698e646625fcf1b22dd8f008aa5d0
  • Pointer size: 130 Bytes
  • Size of remote file: 21.6 kB
images/Black_Spot.jpeg ADDED

Git LFS Details

  • SHA256: 0fed33d0f77f0fb9b877f6f9ac5a225644dbe842167168b447d33d323db0e646
  • Pointer size: 130 Bytes
  • Size of remote file: 11.7 kB
images/Brown_Leaf_Tips.jpeg ADDED

Git LFS Details

  • SHA256: 8740bbe15bb9a115e6fda225d6f6e2fac99fb522ddf7fdfda18ca6c8cdb28223
  • Pointer size: 130 Bytes
  • Size of remote file: 10.9 kB
images/Downy_Mildew.jpeg ADDED

Git LFS Details

  • SHA256: 45210fd2e7e61dcede5c4685e97cccf05cb514c5d13b6d28236ae710a6146ba0
  • Pointer size: 130 Bytes
  • Size of remote file: 11.3 kB
images/Early_Blight.jpeg ADDED

Git LFS Details

  • SHA256: b3fe96318e57141610ef3651e6a182004ee1fc5c6a86d752da52f2e6301902d0
  • Pointer size: 130 Bytes
  • Size of remote file: 12.6 kB
images/Healthy.jpeg ADDED

Git LFS Details

  • SHA256: 32e670e3e8bc92287f62707f956e444a840efac866a1e9c546a0e6c38aa5907e
  • Pointer size: 130 Bytes
  • Size of remote file: 10.7 kB
images/Late_Blight.jpeg ADDED

Git LFS Details

  • SHA256: f15fedb90d6fd83f6defdce3c4eb4b6caeb34e41e0611d9e739104f79ef4237a
  • Pointer size: 130 Bytes
  • Size of remote file: 11.6 kB
images/Leaf_Scorch.jpeg ADDED

Git LFS Details

  • SHA256: a7af6b47d80455dbe0654650f23196dcc4d78ee1e0ebed647e7d31ac70f89021
  • Pointer size: 129 Bytes
  • Size of remote file: 8.25 kB
images/Leaf_Spot.jpeg ADDED

Git LFS Details

  • SHA256: 5a76a56ae23ae0b366203859f974604be384dc12bd759e8d04e9ecb6b76765ce
  • Pointer size: 130 Bytes
  • Size of remote file: 15 kB
images/Powdery_Mildew.jpeg ADDED

Git LFS Details

  • SHA256: 8ab2d61d871b440132a2aca5817dc774906e14861838d674c334dcbc076871b1
  • Pointer size: 130 Bytes
  • Size of remote file: 11.2 kB
images/Rust.jpeg ADDED

Git LFS Details

  • SHA256: c0728cfc898ba1b79ed4e1c386c47ed38b2e0b7fd66a4bb46f874898a733be9a
  • Pointer size: 129 Bytes
  • Size of remote file: 9.54 kB
images/Spider_Mite.jpeg ADDED

Git LFS Details

  • SHA256: 42996d233373fb4b52b3f09999c1cf5501c58a848f6cbe32c1212df6a696cd13
  • Pointer size: 130 Bytes
  • Size of remote file: 12.8 kB
images/Wilted_plant.jpeg ADDED

Git LFS Details

  • SHA256: 337c4c435b954d1b32ee3a82810a980ecfd60ada27cfe709742b7ce0ce09f2b8
  • Pointer size: 129 Bytes
  • Size of remote file: 6.7 kB
images/Yellow_leaves.jpeg ADDED

Git LFS Details

  • SHA256: be7ee8f87f9a11ad19bf38acae503623a1aa930111462b8fe083ae6174e55c2f
  • Pointer size: 129 Bytes
  • Size of remote file: 8.25 kB
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