Downloads · 30 days
0
a23f2003713a/age-gender-resnet18
age-gender-resnet18 is a machine learning model from a23f2003713a. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This repository contains a finetuned ResNet18 PyTorch model trained for predicting age group and gender from facial images.
Downloads · 30 days
0
Access
Public
Updated Nov 15, 2025
Repo size
45.3 MB
Likes
0
Public
Click a slice to open those files.
.pth45.3 MB · 100%
From the Hugging Face model README
This repository contains a finetuned ResNet18 PyTorch model trained for predicting age group and gender from facial images.
resnet18_finetuned_age_gender.pthimport torch
from torchvision import models
model = models.resnet18()
state_dict = torch.hub.load_state_dict_from_url(
"https://huggingface.co/a23f2003713a/age-gender-resnet18/resolve/main/resnet18_finetuned_age_gender.pth",
map_location="cpu"
)
model.load_state_dict(state_dict)
model.eval()
## 📊 Applications
- Facial demographic analytics
- Age estimation
- Gender classification
- Pre-training for face attribute recognition
- Computer vision educational projects
---
## 📜 Training Info
The model was finetuned on an age/gender image dataset using:
- Adam optimizer
- Cross entropy loss
- Image augmentations
- ResNet18 backbone
---
## 📂 Files in this Model Repo
- `resnet18_finetuned_age_gender.pth` — model weights
- `README.md` — description and usage
---
### ✨ Author
Model uploaded using Kaggle + HuggingFace Hub.