Commit
·
194bb2c
1
Parent(s):
e0c2cbb
Add trained CNN gender classifier model
Browse files- README.md +66 -0
- best_multi_output_model.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
|
| 5 |
+
tags:
|
| 6 |
+
|
| 7 |
+
\- tensorflow
|
| 8 |
+
|
| 9 |
+
\- keras
|
| 10 |
+
|
| 11 |
+
\- computer-vision
|
| 12 |
+
|
| 13 |
+
\- image-classification
|
| 14 |
+
|
| 15 |
+
\- gender-classification
|
| 16 |
+
|
| 17 |
+
\- age-estimation
|
| 18 |
+
|
| 19 |
+
framework: tensorflow
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
\# CNN Gender \& Age Classifier
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
This repository contains a trained \*\*CNN-based TensorFlow/Keras model\*\*.
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
\## Tasks
|
| 34 |
+
|
| 35 |
+
\- Gender classification (Male / Female)
|
| 36 |
+
|
| 37 |
+
\- Age range prediction from facial images
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
\## Model File
|
| 42 |
+
|
| 43 |
+
\- `best\_multi\_output\_model.h5`
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
\## How to Load the Model
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
```python
|
| 52 |
+
|
| 53 |
+
import tensorflow as tf
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
model = tf.keras.models.load\_model(
|
| 58 |
+
|
| 59 |
+
"best\_multi\_output\_model.h5",
|
| 60 |
+
|
| 61 |
+
compile=False
|
| 62 |
+
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
|
best_multi_output_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fba24b8d803e78e4aa29ad7bb027f690d23ab842b0719edb3985fa9843406f94
|
| 3 |
+
size 162089720
|