robosapiens commited on
Commit
2959ef7
·
1 Parent(s): 39be4cf

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/bathroom.jpg filter=lfs diff=lfs merge=lfs -text
36
+ images/bedroom.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/dining_room.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/kitchen.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/living_room.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: class-room
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8288288116455078
19
+ ---
20
+
21
+ # class-room
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
+ #### bathroom
35
+
36
+ ![bathroom](images/bathroom.jpg)
37
+
38
+ #### bedroom
39
+
40
+ ![bedroom](images/bedroom.jpg)
41
+
42
+ #### dining room
43
+
44
+ ![dining room](images/dining_room.jpg)
45
+
46
+ #### kitchen
47
+
48
+ ![kitchen](images/kitchen.jpg)
49
+
50
+ #### living room
51
+
52
+ ![living room](images/living_room.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": "bathroom",
13
+ "1": "bedroom",
14
+ "2": "dining room",
15
+ "3": "kitchen",
16
+ "4": "living room"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "bathroom": "0",
23
+ "bedroom": "1",
24
+ "dining room": "2",
25
+ "kitchen": "3",
26
+ "living room": "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.25.1"
38
+ }
images/bathroom.jpg ADDED

Git LFS Details

  • SHA256: a735e574f2e3f4511e9b5a14719be723f67100ebb2a1c7016bee4633114cd0a2
  • Pointer size: 130 Bytes
  • Size of remote file: 21.2 kB
images/bedroom.jpg ADDED

Git LFS Details

  • SHA256: e4fdc9e5783c29913aca3615aa67d2d47785e4e2f7bf737090ae3ebc4d491ddf
  • Pointer size: 130 Bytes
  • Size of remote file: 24.1 kB
images/dining_room.jpg ADDED

Git LFS Details

  • SHA256: 4294a3d440c423d12e1467674b09520417e443b87cc689cfb5bc0e4bd753985c
  • Pointer size: 130 Bytes
  • Size of remote file: 27.6 kB
images/kitchen.jpg ADDED

Git LFS Details

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

Git LFS Details

  • SHA256: 8fa5c357d5bc7f84dd8764a60c5961944c02771e1cd2644f93223fdf8c39f289
  • Pointer size: 130 Bytes
  • Size of remote file: 35.2 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": "ViTImageProcessor",
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:2f11b08046455cbb0e6b1026bb6eaddbb14b3cf0da3dc3347e40ae1893dbf2bc
3
+ size 343275181
runs/events.out.tfevents.1672856690.8d37ffaa9422 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04f8eb57e2503345cfe48b738f2915ce51336fdc94519320a1b1e4ec87742795
3
+ size 1444