lazyturtl commited on
Commit
9459b01
1 Parent(s): 0ff4755

commit files to HF hub

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: roomclassifier
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9402984976768494
19
+ ---
20
+
21
+ # roomclassifier
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
+ #### DinningRoom
43
+
44
+ ![DinningRoom](images/DinningRoom.jpg)
45
+
46
+ #### Kitchen
47
+
48
+ ![Kitchen](images/Kitchen.jpg)
49
+
50
+ #### Laundry room
51
+
52
+ ![Laundry room](images/Laundry_room.jpg)
53
+
54
+ #### Livingroom
55
+
56
+ ![Livingroom](images/Livingroom.jpg)
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "DinningRoom",
15
+ "3": "Kitchen",
16
+ "4": "Laundry room",
17
+ "5": "Livingroom"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "Bathroom": "0",
24
+ "Bedroom": "1",
25
+ "DinningRoom": "2",
26
+ "Kitchen": "3",
27
+ "Laundry room": "4",
28
+ "Livingroom": "5"
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "vit",
32
+ "num_attention_heads": 12,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "problem_type": "single_label_classification",
37
+ "qkv_bias": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.17.0"
40
+ }
images/Bathroom.jpg ADDED
images/Bedroom.jpg ADDED
images/DinningRoom.jpg ADDED
images/Kitchen.jpg ADDED
images/Laundry_room.jpg ADDED
images/Livingroom.jpg ADDED
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "resample": 2,
16
+ "size": 224
17
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b64738bebc8f5c9c3185d8585e99296902d29517f4e89e6e6ac573a5b8f4cc70
3
+ size 343290225
runs/events.out.tfevents.1648688760.4385668998c8.72.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb85d4f16a0abd01a151808688a745ae2b284d2c4daa635ee20513bc03bd6ee1
3
+ size 1537