Prasanna18 commited on
Commit
88c0b58
1 Parent(s): f7f5e76

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,8 @@ 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/desserts.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/indian_biriyani.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/indian_snacks.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/indian_sweets.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/south_indian_food.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: indian-food-classification
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.6057692170143127
19
+ ---
20
+
21
+ # indian-food-classification
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
+ #### desserts
35
+
36
+ ![desserts](images/desserts.jpg)
37
+
38
+ #### indian biriyani
39
+
40
+ ![indian biriyani](images/indian_biriyani.jpg)
41
+
42
+ #### indian snacks
43
+
44
+ ![indian snacks](images/indian_snacks.jpg)
45
+
46
+ #### indian sweets
47
+
48
+ ![indian sweets](images/indian_sweets.jpg)
49
+
50
+ #### south indian food
51
+
52
+ ![south indian food](images/south_indian_food.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": "desserts",
13
+ "1": "indian biriyani",
14
+ "2": "indian snacks",
15
+ "3": "indian sweets",
16
+ "4": "south indian food"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "desserts": "0",
23
+ "indian biriyani": "1",
24
+ "indian snacks": "2",
25
+ "indian sweets": "3",
26
+ "south indian food": "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.34.0"
38
+ }
images/desserts.jpg ADDED

Git LFS Details

  • SHA256: f989a7561c8d86b1cf739667eb43765c13094a0938085a13654fc4809de3206a
  • Pointer size: 130 Bytes
  • Size of remote file: 19.8 kB
images/indian_biriyani.jpg ADDED

Git LFS Details

  • SHA256: c3a29194ca5fe381420145c6ae36df0b5136cba889eeea4e22f6202fe0db9bdc
  • Pointer size: 130 Bytes
  • Size of remote file: 72.5 kB
images/indian_snacks.jpg ADDED

Git LFS Details

  • SHA256: 82fe3b335ba7a5fdb744eb0d6475347122f6985d72b572cf7fa1034a42aa7cd1
  • Pointer size: 130 Bytes
  • Size of remote file: 24.9 kB
images/indian_sweets.jpg ADDED

Git LFS Details

  • SHA256: 50d662188966be57f759e39811e70a7d019f360a11879d4ad0c1243b4f695106
  • Pointer size: 130 Bytes
  • Size of remote file: 25 kB
images/south_indian_food.jpg ADDED

Git LFS Details

  • SHA256: d8fc125d8eefbf816dc0e1e9a855e686bb85e0fe4b490796643e923dfe84e31c
  • Pointer size: 130 Bytes
  • Size of remote file: 30.9 kB
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aef1eb04821f8d167e706aa6bd7d04f808042420c100d317d3496b5588c79246
3
+ size 343275181
runs/events.out.tfevents.1696669264.317f4bb950c1.158.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c13eaba6a959ba7dbdce2fa23e78e7ff5836eff05af7f76c6b81323480f66417
3
+ size 1399