commit files to HF hub
Browse files- .gitattributes +10 -0
- README.md +72 -0
- config.json +48 -0
- images/Bathroom.jpg +3 -0
- images/Bedroom.jpg +3 -0
- images/Dining_Room.jpg +3 -0
- images/House_Amenities.jpg +3 -0
- images/House_Facade.jpg +3 -0
- images/House_Hallway.jpg +3 -0
- images/House_Interior.jpg +3 -0
- images/House_Lobby.jpg +3 -0
- images/Kitchen.jpg +3 -0
- images/Living_Room.jpg +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1696368579.b5396fbc4b3e.381.0 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ 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/Dining_Room.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
images/House_Amenities.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
images/House_Facade.jpg filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
images/House_Hallway.jpg filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
images/House_Interior.jpg filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
images/House_Lobby.jpg filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
images/Kitchen.jpg filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
images/Living_Room.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- image-classification
|
| 4 |
+
- pytorch
|
| 5 |
+
- huggingpics
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
|
| 9 |
+
model-index:
|
| 10 |
+
- name: kw-prop-classifier
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Image Classification
|
| 14 |
+
type: image-classification
|
| 15 |
+
metrics:
|
| 16 |
+
- name: Accuracy
|
| 17 |
+
type: accuracy
|
| 18 |
+
value: 0.6266666650772095
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# kw-prop-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 |
+
#### Bathroom
|
| 35 |
+
|
| 36 |
+

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

|
| 41 |
+
|
| 42 |
+
#### Dining Room
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+
#### House Amenities
|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
|
| 50 |
+
#### House Facade
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
#### House Hallway
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+
#### House Interior
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
#### House Lobby
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
#### Kitchen
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
|
| 70 |
+
#### Living Room
|
| 71 |
+
|
| 72 |
+

|
config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "House Amenities",
|
| 16 |
+
"4": "House Facade",
|
| 17 |
+
"5": "House Hallway",
|
| 18 |
+
"6": "House Interior",
|
| 19 |
+
"7": "House Lobby",
|
| 20 |
+
"8": "Kitchen",
|
| 21 |
+
"9": "Living Room"
|
| 22 |
+
},
|
| 23 |
+
"image_size": 224,
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 3072,
|
| 26 |
+
"label2id": {
|
| 27 |
+
"Bathroom": "0",
|
| 28 |
+
"Bedroom": "1",
|
| 29 |
+
"Dining Room": "2",
|
| 30 |
+
"House Amenities": "3",
|
| 31 |
+
"House Facade": "4",
|
| 32 |
+
"House Hallway": "5",
|
| 33 |
+
"House Interior": "6",
|
| 34 |
+
"House Lobby": "7",
|
| 35 |
+
"Kitchen": "8",
|
| 36 |
+
"Living Room": "9"
|
| 37 |
+
},
|
| 38 |
+
"layer_norm_eps": 1e-12,
|
| 39 |
+
"model_type": "vit",
|
| 40 |
+
"num_attention_heads": 12,
|
| 41 |
+
"num_channels": 3,
|
| 42 |
+
"num_hidden_layers": 12,
|
| 43 |
+
"patch_size": 16,
|
| 44 |
+
"problem_type": "single_label_classification",
|
| 45 |
+
"qkv_bias": true,
|
| 46 |
+
"torch_dtype": "float32",
|
| 47 |
+
"transformers_version": "4.34.0"
|
| 48 |
+
}
|
images/Bathroom.jpg
ADDED
|
Git LFS Details
|
images/Bedroom.jpg
ADDED
|
Git LFS Details
|
images/Dining_Room.jpg
ADDED
|
Git LFS Details
|
images/House_Amenities.jpg
ADDED
|
Git LFS Details
|
images/House_Facade.jpg
ADDED
|
Git LFS Details
|
images/House_Hallway.jpg
ADDED
|
Git LFS Details
|
images/House_Interior.jpg
ADDED
|
Git LFS Details
|
images/House_Lobby.jpg
ADDED
|
Git LFS Details
|
images/Kitchen.jpg
ADDED
|
Git LFS Details
|
images/Living_Room.jpg
ADDED
|
Git LFS Details
|
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:f2d0a4ee4451a75f82e6f57de066db314dad203045b0504263d7ecf1e02b9a35
|
| 3 |
+
size 343290541
|
runs/events.out.tfevents.1696368579.b5396fbc4b3e.381.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1626539b1ae403c0a425d6079cc0010c0b52abc8d3dc4e008c6c1c9c8de64849
|
| 3 |
+
size 2053
|