Dhurkesh1 commited on
Commit
ca58d9c
1 Parent(s): c63470d

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,13 @@ 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/Tomato_Bacterial_spot.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Tomato_Early_blight.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Tomato_Late_blight.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/Tomato_Leaf_Mold.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/Tomato_Septoria_leaf_spot.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/Tomato__Target_Spot.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg filter=lfs diff=lfs merge=lfs -text
44
+ images/Tomato__Tomato_mosaic_virus.jpg filter=lfs diff=lfs merge=lfs -text
45
+ images/Tomato_healthy.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: tomatoDiseaseClassifier
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9908371567726135
19
+ ---
20
+
21
+ # tomatoDiseaseClassifier
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
+ #### Tomato_Bacterial_spot
33
+
34
+ ![Tomato_Bacterial_spot](images/Tomato_Bacterial_spot.jpg)
35
+
36
+ #### Tomato_Early_blight
37
+
38
+ ![Tomato_Early_blight](images/Tomato_Early_blight.jpg)
39
+
40
+ #### Tomato_Late_blight
41
+
42
+ ![Tomato_Late_blight](images/Tomato_Late_blight.jpg)
43
+
44
+ #### Tomato_Leaf_Mold
45
+
46
+ ![Tomato_Leaf_Mold](images/Tomato_Leaf_Mold.jpg)
47
+
48
+ #### Tomato_Septoria_leaf_spot
49
+
50
+ ![Tomato_Septoria_leaf_spot](images/Tomato_Septoria_leaf_spot.jpg)
51
+
52
+ #### Tomato_Spider_mites_Two_spotted_spider_mite
53
+
54
+ ![Tomato_Spider_mites_Two_spotted_spider_mite](images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg)
55
+
56
+ #### Tomato__Target_Spot
57
+
58
+ ![Tomato__Target_Spot](images/Tomato__Target_Spot.jpg)
59
+
60
+ #### Tomato__Tomato_YellowLeaf__Curl_Virus
61
+
62
+ ![Tomato__Tomato_YellowLeaf__Curl_Virus](images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg)
63
+
64
+ #### Tomato__Tomato_mosaic_virus
65
+
66
+ ![Tomato__Tomato_mosaic_virus](images/Tomato__Tomato_mosaic_virus.jpg)
67
+
68
+ #### Tomato_healthy
69
+
70
+ ![Tomato_healthy](images/Tomato_healthy.jpg)
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Tomato_Bacterial_spot",
13
+ "1": "Tomato_Early_blight",
14
+ "2": "Tomato_Late_blight",
15
+ "3": "Tomato_Leaf_Mold",
16
+ "4": "Tomato_Septoria_leaf_spot",
17
+ "5": "Tomato_Spider_mites_Two_spotted_spider_mite",
18
+ "6": "Tomato__Target_Spot",
19
+ "7": "Tomato__Tomato_YellowLeaf__Curl_Virus",
20
+ "8": "Tomato__Tomato_mosaic_virus",
21
+ "9": "Tomato_healthy"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "Tomato_Bacterial_spot": "0",
28
+ "Tomato_Early_blight": "1",
29
+ "Tomato_Late_blight": "2",
30
+ "Tomato_Leaf_Mold": "3",
31
+ "Tomato_Septoria_leaf_spot": "4",
32
+ "Tomato_Spider_mites_Two_spotted_spider_mite": "5",
33
+ "Tomato__Target_Spot": "6",
34
+ "Tomato__Tomato_YellowLeaf__Curl_Virus": "7",
35
+ "Tomato__Tomato_mosaic_virus": "8",
36
+ "Tomato_healthy": "9"
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "model_type": "vit",
40
+ "num_attention_heads": 12,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.44.2"
48
+ }
images/Tomato_Bacterial_spot.jpg ADDED

Git LFS Details

  • SHA256: c11ab8634d841c6f0fbe5121877942b81d3d5f600232053679176c872f6b37db
  • Pointer size: 130 Bytes
  • Size of remote file: 14.2 kB
images/Tomato_Early_blight.jpg ADDED

Git LFS Details

  • SHA256: 9877ea59904a0d549124568616af71324b306464b28834c714f86fe6ec8b8079
  • Pointer size: 130 Bytes
  • Size of remote file: 16.4 kB
images/Tomato_Late_blight.jpg ADDED

Git LFS Details

  • SHA256: cb01ad64af70d5e525012a1bb67e44dee276f71045e8d2afbdd4eaab8b0541ed
  • Pointer size: 130 Bytes
  • Size of remote file: 17.2 kB
images/Tomato_Leaf_Mold.jpg ADDED

Git LFS Details

  • SHA256: f8d3066deaebd5925e21f36e87a31007aeddeef4a39dc8dff867b7ee589fc154
  • Pointer size: 130 Bytes
  • Size of remote file: 17.3 kB
images/Tomato_Septoria_leaf_spot.jpg ADDED

Git LFS Details

  • SHA256: 7a46a032af8dad61feebaef5a373fa80091e935a1d08203156be66fee89c617a
  • Pointer size: 130 Bytes
  • Size of remote file: 24 kB
images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg ADDED

Git LFS Details

  • SHA256: 8262d7595be94ac7dd4f3fc0e83ed284ae50df0e7daf1915712580e8b8d8667f
  • Pointer size: 130 Bytes
  • Size of remote file: 16.5 kB
images/Tomato__Target_Spot.jpg ADDED

Git LFS Details

  • SHA256: e3d2d22942297a5ad74571b58739fc5d999ded14dd826901cc3c8cd8d6f9f5de
  • Pointer size: 130 Bytes
  • Size of remote file: 21.1 kB
images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg ADDED

Git LFS Details

  • SHA256: 98379c43cb5bf3597255da072cfd54d14a8aac4bc18d98666b88f207b4d1b12a
  • Pointer size: 130 Bytes
  • Size of remote file: 19.5 kB
images/Tomato__Tomato_mosaic_virus.jpg ADDED

Git LFS Details

  • SHA256: e6ba8a8d0e0f06e59b14329d565c5b554814ecde41b185037ebf233e4c107ad9
  • Pointer size: 130 Bytes
  • Size of remote file: 21.9 kB
images/Tomato_healthy.jpg ADDED

Git LFS Details

  • SHA256: 902b404ce3b87f261a6763c50322456bad6f9ad9da71f6c7932fce5f42ce20be
  • Pointer size: 130 Bytes
  • Size of remote file: 26.2 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35420e3b27a39b351cb2a1fda2de37fd183dd398a53405a9e50b45690de5b416
3
+ size 343248584
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.1727226507.aa9dcfa4f0c6.396.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e13a8efbb176be8c6ff160f37f803ea032daa4fabc441e50c982a4659d35641
3
+ size 13585