merelevy commited on
Commit
76a0266
·
1 Parent(s): bba6b23

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/doors_and_door_knobs.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/electrical_wiring.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/gas_line.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/insects.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/sink_and_faucet.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: diy-recommendation2
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8899082541465759
19
+ ---
20
+
21
+ # diy-recommendation2
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
+ #### doors and door knobs
35
+
36
+ ![doors and door knobs](images/doors_and_door_knobs.jpg)
37
+
38
+ #### electrical wiring
39
+
40
+ ![electrical wiring](images/electrical_wiring.jpg)
41
+
42
+ #### gas line
43
+
44
+ ![gas line](images/gas_line.jpg)
45
+
46
+ #### insects
47
+
48
+ ![insects](images/insects.jpg)
49
+
50
+ #### sink and faucet
51
+
52
+ ![sink and faucet](images/sink_and_faucet.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": "doors and door knobs",
12
+ "1": "electrical wiring",
13
+ "2": "gas line",
14
+ "3": "insects",
15
+ "4": "sink and faucet"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "doors and door knobs": "0",
22
+ "electrical wiring": "1",
23
+ "gas line": "2",
24
+ "insects": "3",
25
+ "sink and faucet": "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.50.2"
39
+ }
images/doors_and_door_knobs.jpg ADDED

Git LFS Details

  • SHA256: a6a88f24b322ae3154658069a6c753ba272e580db0df7268dee28654e1002bc9
  • Pointer size: 130 Bytes
  • Size of remote file: 16.9 kB
images/electrical_wiring.jpg ADDED

Git LFS Details

  • SHA256: 473b76f8f0796ca58792c74ddd8ff4554991ff9e5bd2c014e0ed9ff8151e4d2d
  • Pointer size: 130 Bytes
  • Size of remote file: 41.4 kB
images/gas_line.jpg ADDED

Git LFS Details

  • SHA256: 3f52de0b6ebdfe1e9110e47edb161b4731b0c6af48926303692ea60295529d84
  • Pointer size: 130 Bytes
  • Size of remote file: 36.5 kB
images/insects.jpg ADDED

Git LFS Details

  • SHA256: af9274df6adfaa80d9b12c51582a60feae718efee82592e1b3e0e2a17b3c1a86
  • Pointer size: 130 Bytes
  • Size of remote file: 38.1 kB
images/sink_and_faucet.jpg ADDED

Git LFS Details

  • SHA256: 463a317bdc3dc977bfb3b2696fe0d68a811774f7afe6b892550e933ec9396b5f
  • Pointer size: 130 Bytes
  • Size of remote file: 22.4 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ff2f24de51f5633f505717501a6fcca1beea9126b50590c1f1a0f8c187dc547
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.1743575589.db3e6ecb8425.324.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f93a0f1c0769b062b23c9964a83ed7db837cb95e09bcc1f54b3dcc0bf73e119
3
+ size 1492