RohithN2004 commited on
Commit
fab019f
1 Parent(s): a2bd08a

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,11 @@ 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/American_Bollworm.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Cotton_Aphid.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Cotton_Leaf_Perforator.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/Pink_Bollworm.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/Red_Cotton_Bug.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/Spotted_Bollworm.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/Thrips.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/Whitefly.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: Cotton-pests
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.7724137902259827
19
+ ---
20
+
21
+ # Cotton-pests
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
+ #### American Bollworm
35
+
36
+ ![American Bollworm](images/American_Bollworm.jpg)
37
+
38
+ #### Cotton Aphid
39
+
40
+ ![Cotton Aphid](images/Cotton_Aphid.jpg)
41
+
42
+ #### Cotton Leaf Perforator
43
+
44
+ ![Cotton Leaf Perforator](images/Cotton_Leaf_Perforator.jpg)
45
+
46
+ #### Pink Bollworm
47
+
48
+ ![Pink Bollworm](images/Pink_Bollworm.jpg)
49
+
50
+ #### Red Cotton Bug
51
+
52
+ ![Red Cotton Bug](images/Red_Cotton_Bug.jpg)
53
+
54
+ #### Spotted Bollworm
55
+
56
+ ![Spotted Bollworm](images/Spotted_Bollworm.jpg)
57
+
58
+ #### Thrips
59
+
60
+ ![Thrips](images/Thrips.jpg)
61
+
62
+ #### Whitefly
63
+
64
+ ![Whitefly](images/Whitefly.jpg)
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "American Bollworm",
13
+ "1": "Cotton Aphid",
14
+ "2": "Cotton Leaf Perforator",
15
+ "3": "Pink Bollworm",
16
+ "4": "Red Cotton Bug",
17
+ "5": "Spotted Bollworm",
18
+ "6": "Thrips",
19
+ "7": "Whitefly"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "American Bollworm": "0",
26
+ "Cotton Aphid": "1",
27
+ "Cotton Leaf Perforator": "2",
28
+ "Pink Bollworm": "3",
29
+ "Red Cotton Bug": "4",
30
+ "Spotted Bollworm": "5",
31
+ "Thrips": "6",
32
+ "Whitefly": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.41.2"
44
+ }
images/American_Bollworm.jpg ADDED

Git LFS Details

  • SHA256: 100e7d151e8f429cab18d30c739232c5127787c4474c7a8e717e0ae72c3b0767
  • Pointer size: 130 Bytes
  • Size of remote file: 37.3 kB
images/Cotton_Aphid.jpg ADDED

Git LFS Details

  • SHA256: 975c7b2fd1ef89409c74c143f274a011ceaaef482b5fd000bb04d6dc050abe17
  • Pointer size: 130 Bytes
  • Size of remote file: 48.8 kB
images/Cotton_Leaf_Perforator.jpg ADDED

Git LFS Details

  • SHA256: 75721c778f6bf54fe4f86b606059ef5b56b93ee6fc49164541a788795253063e
  • Pointer size: 130 Bytes
  • Size of remote file: 27.1 kB
images/Pink_Bollworm.jpg ADDED

Git LFS Details

  • SHA256: 100e7d151e8f429cab18d30c739232c5127787c4474c7a8e717e0ae72c3b0767
  • Pointer size: 130 Bytes
  • Size of remote file: 37.3 kB
images/Red_Cotton_Bug.jpg ADDED

Git LFS Details

  • SHA256: 04548609d3db141eeaaa8e3c32e04cce3f830670ef9de2db93226ffabeeff049
  • Pointer size: 130 Bytes
  • Size of remote file: 23.7 kB
images/Spotted_Bollworm.jpg ADDED

Git LFS Details

  • SHA256: 100e7d151e8f429cab18d30c739232c5127787c4474c7a8e717e0ae72c3b0767
  • Pointer size: 130 Bytes
  • Size of remote file: 37.3 kB
images/Thrips.jpg ADDED

Git LFS Details

  • SHA256: b59c221e297274b22fc51b6eb2627197d892313749c016a214187724ca3cf7d4
  • Pointer size: 130 Bytes
  • Size of remote file: 92.9 kB
images/Whitefly.jpg ADDED

Git LFS Details

  • SHA256: 9f2f69c9deb34362ec2429ef20f5c50ef811140bd880cc6be66ace28b62d2957
  • Pointer size: 130 Bytes
  • Size of remote file: 67.8 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb18ccf35bcf015bc5de6d525dc5dfc759ca22a1bfb9c242c810384faf58cc52
3
+ size 343242432
preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTFeatureExtractor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
runs/events.out.tfevents.1718345321.33dad484ea60.2914.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9fec1e62dcf56552c302cc924446361c8732fd09396cf8f4547639385ad3f32
3
+ size 2647