commit files to HF hub
Browse files- .gitattributes +2 -0
- README.md +7 -7
- config.json +7 -7
- images/adult_female.jpg +3 -0
- images/adult_male.jpg +3 -0
- preprocessor_config.json +0 -14
- pytorch_model.bin +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
images/female.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
images/male.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
images/child.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 36 |
images/female.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
images/male.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
images/child.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
images/adult_female.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
images/adult_male.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -15,7 +15,7 @@ model-index:
|
|
| 15 |
metrics:
|
| 16 |
- name: Accuracy
|
| 17 |
type: accuracy
|
| 18 |
-
value: 0.
|
| 19 |
---
|
| 20 |
|
| 21 |
# sgdkn/gender-classification-hp
|
|
@@ -31,14 +31,14 @@ Report any issues with the demo at the [github repo](https://github.com/nateraw/
|
|
| 31 |
## Example Images
|
| 32 |
|
| 33 |
|
| 34 |
-
####
|
| 35 |
|
| 36 |
-

|
| 37 |
|
| 38 |
+
#### adult male
|
| 39 |
|
| 40 |
+

|
| 41 |
|
| 42 |
+
#### child
|
| 43 |
|
| 44 |
+

|
config.json
CHANGED
|
@@ -9,17 +9,17 @@
|
|
| 9 |
"hidden_dropout_prob": 0.0,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
-
"0": "
|
| 13 |
-
"1": "
|
| 14 |
-
"2": "
|
| 15 |
},
|
| 16 |
"image_size": 224,
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
"intermediate_size": 3072,
|
| 19 |
"label2id": {
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
},
|
| 24 |
"layer_norm_eps": 1e-12,
|
| 25 |
"model_type": "vit",
|
|
@@ -30,5 +30,5 @@
|
|
| 30 |
"problem_type": "single_label_classification",
|
| 31 |
"qkv_bias": true,
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
-
"transformers_version": "4.
|
| 34 |
}
|
|
|
|
| 9 |
"hidden_dropout_prob": 0.0,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
+
"0": "adult female",
|
| 13 |
+
"1": "adult male",
|
| 14 |
+
"2": "child"
|
| 15 |
},
|
| 16 |
"image_size": 224,
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
"intermediate_size": 3072,
|
| 19 |
"label2id": {
|
| 20 |
+
"adult female": "0",
|
| 21 |
+
"adult male": "1",
|
| 22 |
+
"child": "2"
|
| 23 |
},
|
| 24 |
"layer_norm_eps": 1e-12,
|
| 25 |
"model_type": "vit",
|
|
|
|
| 30 |
"problem_type": "single_label_classification",
|
| 31 |
"qkv_bias": true,
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
+
"transformers_version": "4.30.2"
|
| 34 |
}
|
images/adult_female.jpg
ADDED
|
Git LFS Details
|
images/adult_male.jpg
ADDED
|
Git LFS Details
|
preprocessor_config.json
CHANGED
|
@@ -1,18 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_valid_processor_keys": [
|
| 3 |
-
"images",
|
| 4 |
-
"do_resize",
|
| 5 |
-
"size",
|
| 6 |
-
"resample",
|
| 7 |
-
"do_rescale",
|
| 8 |
-
"rescale_factor",
|
| 9 |
-
"do_normalize",
|
| 10 |
-
"image_mean",
|
| 11 |
-
"image_std",
|
| 12 |
-
"return_tensors",
|
| 13 |
-
"data_format",
|
| 14 |
-
"input_data_format"
|
| 15 |
-
],
|
| 16 |
"do_normalize": true,
|
| 17 |
"do_rescale": true,
|
| 18 |
"do_resize": true,
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"do_normalize": true,
|
| 3 |
"do_rescale": true,
|
| 4 |
"do_resize": true,
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56f71c8a0b726235114f1e6ec07b78285f8daf93cca1eb5831d1b74449e873a6
|
| 3 |
+
size 343269037
|