chrisroush commited on
Commit
0f2a77e
1 Parent(s): b485277

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -32,3 +32,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ images/Clothes.jpg filter=lfs diff=lfs merge=lfs -text
36
+ images/Food.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Furniture.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Paint_colors.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/Plants.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: savr
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9017857313156128
19
+ ---
20
+
21
+ # savr
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
+ #### Clothes
35
+
36
+ ![Clothes](images/Clothes.jpg)
37
+
38
+ #### Food
39
+
40
+ ![Food](images/Food.jpg)
41
+
42
+ #### Furniture
43
+
44
+ ![Furniture](images/Furniture.jpg)
45
+
46
+ #### Paint colors
47
+
48
+ ![Paint colors](images/Paint_colors.jpg)
49
+
50
+ #### Plants
51
+
52
+ ![Plants](images/Plants.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": "Clothes",
13
+ "1": "Food",
14
+ "2": "Furniture",
15
+ "3": "Paint colors",
16
+ "4": "Plants"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Clothes": "0",
23
+ "Food": "1",
24
+ "Furniture": "2",
25
+ "Paint colors": "3",
26
+ "Plants": "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.29.2"
38
+ }
images/Clothes.jpg ADDED

Git LFS Details

  • SHA256: dabeaa8a53979b658906c6db8ad009339fe93f2a26b8b00ed58ee11d358791c3
  • Pointer size: 130 Bytes
  • Size of remote file: 29.4 kB
images/Food.jpg ADDED

Git LFS Details

  • SHA256: 1f083cf01ea99b7b05b8d02c53e9454d02dc012d990a6bd1284c180b18d09a8b
  • Pointer size: 130 Bytes
  • Size of remote file: 36.6 kB
images/Furniture.jpg ADDED

Git LFS Details

  • SHA256: 7bc295e591840fdd70b0724bad627b9b19309e27a31ded375ad4d6066c4be8b4
  • Pointer size: 130 Bytes
  • Size of remote file: 26.3 kB
images/Paint_colors.jpg ADDED

Git LFS Details

  • SHA256: ab954e6c3298aae5fd7243ae93f71f96032f5d463d0716cc66b7b219dfde3d80
  • Pointer size: 130 Bytes
  • Size of remote file: 32.9 kB
images/Plants.jpg ADDED

Git LFS Details

  • SHA256: 574095db89749f4962700460993bdc64ca9f07115cd0ecbd13b67f05db645a6e
  • Pointer size: 130 Bytes
  • Size of remote file: 19 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:a94a34908d91003fd6eafe6696b1aee1601bdea8b6a217fdd81986878e19fc56
3
+ size 343275181
runs/events.out.tfevents.1685036786.49eeb4222536.267.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad0282fa3083a2b54c97ab7a6571cc5da56439939fae97c5dfa5220c3c5289e6
3
+ size 1492