commit files to HF hub
Browse files- README.md +31 -0
- config.json +35 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- runs/events.out.tfevents.1737923093.bba9ef8c871e.8569.0 +3 -0
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: Light_Gender_Classifier
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.7785888314247131
|
19 |
+
---
|
20 |
+
|
21 |
+
# Light_Gender_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
|
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v2_1.0_224",
|
3 |
+
"architectures": [
|
4 |
+
"MobileNetV2ForImageClassification"
|
5 |
+
],
|
6 |
+
"classifier_dropout_prob": 0.2,
|
7 |
+
"depth_divisible_by": 8,
|
8 |
+
"depth_multiplier": 1.0,
|
9 |
+
"expand_ratio": 6,
|
10 |
+
"finegrained_output": true,
|
11 |
+
"first_layer_is_expansion": true,
|
12 |
+
"hidden_act": "relu6",
|
13 |
+
"id2label": {
|
14 |
+
"0": "male",
|
15 |
+
"1": "random things",
|
16 |
+
"2": "random woman"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"male": "0",
|
22 |
+
"random things": "1",
|
23 |
+
"random woman": "2"
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 0.001,
|
26 |
+
"min_depth": 8,
|
27 |
+
"model_type": "mobilenet_v2",
|
28 |
+
"num_channels": 3,
|
29 |
+
"output_stride": 32,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"semantic_loss_ignore_index": 255,
|
32 |
+
"tf_padding": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.47.1"
|
35 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29968492c7a7e01675d5d9703e65f6953c0c3ed87d8bdee02ae7d11a929ddb4b
|
3 |
+
size 9085340
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_normalize": true,
|
8 |
+
"do_rescale": true,
|
9 |
+
"do_resize": true,
|
10 |
+
"image_mean": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"image_processor_type": "MobileNetV2FeatureExtractor",
|
16 |
+
"image_std": [
|
17 |
+
0.5,
|
18 |
+
0.5,
|
19 |
+
0.5
|
20 |
+
],
|
21 |
+
"resample": 2,
|
22 |
+
"rescale_factor": 0.00392156862745098,
|
23 |
+
"size": {
|
24 |
+
"shortest_edge": 256
|
25 |
+
}
|
26 |
+
}
|
runs/events.out.tfevents.1737923093.bba9ef8c871e.8569.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4d4e6ef80541cf607fdf8f201c471b98eb8b03593650ac383beaa783610688a
|
3 |
+
size 2324
|