JuanMa360 commited on
Commit
345ceec
1 Parent(s): 703d052

commit files to HF hub

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

Git LFS Details

  • SHA256: 356a71d88dd3bdbcc991de8b1a2ad5eac8b98e3a37f12f4321fdecf0400eee9f
  • Pointer size: 130 Bytes
  • Size of remote file: 42.6 kB
images/Interior.jpg ADDED

Git LFS Details

  • SHA256: 7601aeb75d73e78f1b7662bc918bf5c2e5e213f9376894bd86fb0e3c913c461d
  • Pointer size: 130 Bytes
  • Size of remote file: 33.2 kB
images/bathroom.jpg ADDED

Git LFS Details

  • SHA256: 79cedd5733322fe59f9e3416cdca2b1284ade5b79f798b614317fd4e6f343a52
  • Pointer size: 130 Bytes
  • Size of remote file: 14.9 kB
images/bedroom.jpg ADDED

Git LFS Details

  • SHA256: 149268a20a7868e00ed0ce2f475ffaf5b2c63a3e9d2bfa7ea90c02020d243028
  • Pointer size: 130 Bytes
  • Size of remote file: 27.6 kB
images/dining_room.jpg ADDED

Git LFS Details

  • SHA256: 95d5b7a8212ca66883f6d02aafb9237278b810b167e9211d87a99897fa23143e
  • Pointer size: 130 Bytes
  • Size of remote file: 33.1 kB
images/kitchen.jpg ADDED

Git LFS Details

  • SHA256: d1b7fa4ed5fe8143990dbd1ff830568530e76cbd5991fc3467ac595df794539f
  • Pointer size: 130 Bytes
  • Size of remote file: 38 kB
images/living_room.jpg ADDED

Git LFS Details

  • SHA256: fbd0dc279da585297b909a9621400056fe2299511cec7d10645741a569a669a1
  • Pointer size: 130 Bytes
  • Size of remote file: 32.7 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:76a79e64e9c47e5db434c0a9745df8246e6f6b4956419d866434141efb914862
3
+ size 343281325
runs/events.out.tfevents.1693432100.532b0a4f2575.889.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ac94070e07578ec27af39e87fa46b3afdbb8997261feddff52cf9e40a12f0f0
3
+ size 1678