Testthistool commited on
Commit
46a7763
·
1 Parent(s): d89edb2

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/brands.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/indian_product.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/local_india.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/shops.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/store_items.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-products
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.6071428656578064
19
+ ---
20
+
21
+ # indian-products
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
+ #### brands
35
+
36
+ ![brands](images/brands.jpg)
37
+
38
+ #### indian product
39
+
40
+ ![indian product](images/indian_product.jpg)
41
+
42
+ #### local india
43
+
44
+ ![local india](images/local_india.jpg)
45
+
46
+ #### shops
47
+
48
+ ![shops](images/shops.jpg)
49
+
50
+ #### store items
51
+
52
+ ![store items](images/store_items.jpg)
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "brands",
12
+ "1": "indian product",
13
+ "2": "local india",
14
+ "3": "shops",
15
+ "4": "store items"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "brands": "0",
22
+ "indian product": "1",
23
+ "local india": "2",
24
+ "shops": "3",
25
+ "store items": "4"
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "model_type": "vit",
29
+ "num_attention_heads": 12,
30
+ "num_channels": 3,
31
+ "num_hidden_layers": 12,
32
+ "patch_size": 16,
33
+ "pooler_act": "tanh",
34
+ "pooler_output_size": 768,
35
+ "problem_type": "single_label_classification",
36
+ "qkv_bias": true,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.51.3"
39
+ }
images/brands.jpg ADDED

Git LFS Details

  • SHA256: 8ce4961ac2dcf99265647193b5c8b942eaa46c728e5a5dfe1088072d6c37e8f6
  • Pointer size: 130 Bytes
  • Size of remote file: 27.3 kB
images/indian_product.jpg ADDED

Git LFS Details

  • SHA256: 38897cf9716d24f23a1e42a529cd62e9a113287188fcdaba0beb7b1213e29157
  • Pointer size: 130 Bytes
  • Size of remote file: 26.6 kB
images/local_india.jpg ADDED

Git LFS Details

  • SHA256: 240cb68c5a5cf7d3ffd50dcf47dd1f99e1734a0ff8de950cdf1248b220183c8f
  • Pointer size: 130 Bytes
  • Size of remote file: 46.9 kB
images/shops.jpg ADDED

Git LFS Details

  • SHA256: 7957e7ed2bf8a8e0fa3071c3781fd2adc412282cb076b82a5b03042f0f151f21
  • Pointer size: 130 Bytes
  • Size of remote file: 44.7 kB
images/store_items.jpg ADDED

Git LFS Details

  • SHA256: 573af789d9178d8dc79cc7e60ffa2a22cbedf08be59d7635c69b3737f9d196ee
  • Pointer size: 130 Bytes
  • Size of remote file: 44.7 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45e92c406b4e2ce3542de42619b4e80c26d6ebfdaee10b3dc2db42919ef56aa4
3
+ size 343233204
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
runs/events.out.tfevents.1747949162.86bb00df2a82.3293.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2145d9361fb285bf82fdea96a77c379465679d22d258ce5728c454f596712fe8
3
+ size 1492