Plaban81 commited on
Commit
0180057
1 Parent(s): f312080

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -31,3 +31,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
34
+ images/Brinjal.jpg filter=lfs diff=lfs merge=lfs -text
35
+ images/Cabbage.jpg filter=lfs diff=lfs merge=lfs -text
36
+ images/Cauliflower.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Raddish.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Tomato.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: vegetable-classifier
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8571428656578064
19
+ ---
20
+
21
+ # vegetable-classifier
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
+ #### Brinjal
35
+
36
+ ![Brinjal](images/Brinjal.jpg)
37
+
38
+ #### Cabbage
39
+
40
+ ![Cabbage](images/Cabbage.jpg)
41
+
42
+ #### Cauliflower
43
+
44
+ ![Cauliflower](images/Cauliflower.jpg)
45
+
46
+ #### Raddish
47
+
48
+ ![Raddish](images/Raddish.jpg)
49
+
50
+ #### Tomato
51
+
52
+ ![Tomato](images/Tomato.jpg)
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Brinjal",
13
+ "1": "Cabbage",
14
+ "2": "Cauliflower",
15
+ "3": "Raddish",
16
+ "4": "Tomato"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Brinjal": "0",
23
+ "Cabbage": "1",
24
+ "Cauliflower": "2",
25
+ "Raddish": "3",
26
+ "Tomato": "4"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.23.1"
38
+ }
images/Brinjal.jpg ADDED

Git LFS Details

  • SHA256: 320b5ca9894f3f4d5c86e5a6c3118c6de2ba9978a6e8f07c4eef6372ed6d8a3d
  • Pointer size: 130 Bytes
  • Size of remote file: 26.4 kB
images/Cabbage.jpg ADDED

Git LFS Details

  • SHA256: 0c79c468d1e41ec6edf3cf241d3eddc07ac599a5920692b4778d430e9e213405
  • Pointer size: 130 Bytes
  • Size of remote file: 44.3 kB
images/Cauliflower.jpg ADDED

Git LFS Details

  • SHA256: a749ad47b464f22cbc96983d526494d26a57c0fb818de99d896bfa3170b704b8
  • Pointer size: 130 Bytes
  • Size of remote file: 28.9 kB
images/Raddish.jpg ADDED

Git LFS Details

  • SHA256: 6f5e6db85e31939626bafd916395bd055ee9115e0f93e444c89d379e611b37e1
  • Pointer size: 130 Bytes
  • Size of remote file: 43.6 kB
images/Tomato.jpg ADDED

Git LFS Details

  • SHA256: ee546ba6b0ee3fb6307536c36c92b4984bef487e39fbdcc1ba27347924977ecc
  • Pointer size: 130 Bytes
  • Size of remote file: 15.4 kB
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "resample": 2,
16
+ "size": 224
17
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4a7f8adfabb6e0a3f408b3112d59bfe3c3318cb711c0b379dfe573916303adc
3
+ size 343273393
runs/events.out.tfevents.1666883778.502b325d585e.79.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe98215745f7acb16db056cf547156487789e636b59f8ab2ae94e805e429ca82
3
+ size 1351