commit files to HF hub
Browse files- .gitattributes +5 -0
- README.md +52 -0
- config.json +39 -0
- images/Bathroom.jpg +3 -0
- images/Bedroom.jpg +3 -0
- images/Dinning.jpg +3 -0
- images/Kitchen.jpg +3 -0
- images/Livingroom.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- runs/events.out.tfevents.1752236464.666fc854f7a6.145.0 +3 -0
.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/Bathroom.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
images/Bedroom.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
images/Dinning.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
images/Kitchen.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
images/Livingroom.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: room-classifier-2
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Image Classification
|
| 14 |
+
type: image-classification
|
| 15 |
+
metrics:
|
| 16 |
+
- name: Accuracy
|
| 17 |
+
type: accuracy
|
| 18 |
+
value: 0.9224904775619507
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# room-classifier-2
|
| 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 |
+

|
| 37 |
+
|
| 38 |
+
#### Bedroom
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
#### Dinning
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+
#### Kitchen
|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
|
| 50 |
+
#### Livingroom
|
| 51 |
+
|
| 52 |
+

|
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": "Bathroom",
|
| 12 |
+
"1": "Bedroom",
|
| 13 |
+
"2": "Dinning",
|
| 14 |
+
"3": "Kitchen",
|
| 15 |
+
"4": "Livingroom"
|
| 16 |
+
},
|
| 17 |
+
"image_size": 224,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 3072,
|
| 20 |
+
"label2id": {
|
| 21 |
+
"Bathroom": "0",
|
| 22 |
+
"Bedroom": "1",
|
| 23 |
+
"Dinning": "2",
|
| 24 |
+
"Kitchen": "3",
|
| 25 |
+
"Livingroom": "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.53.1"
|
| 39 |
+
}
|
images/Bathroom.jpg
ADDED
|
Git LFS Details
|
images/Bedroom.jpg
ADDED
|
Git LFS Details
|
images/Dinning.jpg
ADDED
|
Git LFS Details
|
images/Kitchen.jpg
ADDED
|
Git LFS Details
|
images/Livingroom.jpg
ADDED
|
Git LFS Details
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6880246af3f92885a2d6066b20764e026cd8e4eb2f67609a8a8871d86ed710f2
|
| 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.1752236464.666fc854f7a6.145.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3498d5bfc4689f5a80eaa4729d9f13a39da06a3beb4b471ae1f5bc8c865d356
|
| 3 |
+
size 12082
|