Dhurkesh1 commited on
Commit
20eb90a
1 Parent(s): b24d0d2

commit files to HF hub

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

  • SHA256: 1d339da77f99c6a5e271f2f327540d86dd11eb1a6d3b6af4681afdc51bfc2cf4
  • Pointer size: 130 Bytes
  • Size of remote file: 16.8 kB
images/Potato___Early_blight.jpg ADDED

Git LFS Details

  • SHA256: fb2a369f51468f19b40b1d10f0f93037144e588ee3c6bc1ebc1ae661c18de503
  • Pointer size: 130 Bytes
  • Size of remote file: 21.5 kB
images/Potato___Late_blight.jpg ADDED

Git LFS Details

  • SHA256: e769bee2a6158ba189b8128118e68b77910e45c846395fefb0dee04d98ed7ca7
  • Pointer size: 130 Bytes
  • Size of remote file: 12.1 kB
images/Potato___healthy.jpg ADDED

Git LFS Details

  • SHA256: 204da3e6b70898d657ad819c27982ed2506240b618175eebb04bc09b05d33b6a
  • Pointer size: 130 Bytes
  • Size of remote file: 22.1 kB
images/Tomato_Bacterial_spot.jpg ADDED

Git LFS Details

  • SHA256: 94febc117abe14141a36995d507e1c5b5a9943ed3a5d380a8dd37abd8dba5cc7
  • Pointer size: 129 Bytes
  • Size of remote file: 9.6 kB
images/Tomato_Early_blight.jpg ADDED

Git LFS Details

  • SHA256: f6d89318d6d9fa6ac62dcdff61aa67fd0f3416724af46e9b26a2e61f8554b15c
  • Pointer size: 130 Bytes
  • Size of remote file: 15.3 kB
images/Tomato_Late_blight.jpg ADDED

Git LFS Details

  • SHA256: 80e6aee36a053bc39baeda7d1b650fef18e291edb6169733f8f2e7e726ee56d6
  • Pointer size: 129 Bytes
  • Size of remote file: 9.94 kB
images/Tomato_Leaf_Mold.jpg ADDED

Git LFS Details

  • SHA256: 1db652e64f38280c9e1803b3fe3fdb892b23ece0b7f030945d55507b9bc804a4
  • Pointer size: 130 Bytes
  • Size of remote file: 18.3 kB
images/Tomato_Septoria_leaf_spot.jpg ADDED

Git LFS Details

  • SHA256: d9cdc164a0b7c3461f8d669f32b22687fd6c55ff57f0ef7519c384ca9ac2a394
  • Pointer size: 130 Bytes
  • Size of remote file: 21.2 kB
images/Tomato_Spider_mites_Two_spotted_spider_mite.jpg ADDED

Git LFS Details

  • SHA256: d305874a70bae305167ddbefc15ab6ca5d4ee87887344ef22d45530f107a649d
  • Pointer size: 130 Bytes
  • Size of remote file: 21.6 kB
images/Tomato__Target_Spot.jpg ADDED

Git LFS Details

  • SHA256: 007938c362c0cdf4b4f70bee352252386950116aeb039f08498e1c7b2f1a3135
  • Pointer size: 130 Bytes
  • Size of remote file: 20.2 kB
images/Tomato__Tomato_YellowLeaf__Curl_Virus.jpg ADDED

Git LFS Details

  • SHA256: b52ebb762ebb3af07a53c3562a265672b11c3a65dcab694b61864d4fd5c292b3
  • Pointer size: 129 Bytes
  • Size of remote file: 6.1 kB
images/Tomato__Tomato_mosaic_virus.jpg ADDED

Git LFS Details

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

Git LFS Details

  • SHA256: 2f83be0750e5cbc62be203827c64a6ebe80abb4c13b13110e6c9f3391ee63ec5
  • Pointer size: 130 Bytes
  • Size of remote file: 26.9 kB
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