Downloads · 30 days
6
43% of all-time downloads
omeryenal/KnowYourAge
KnowYourAge is a machine learning model from omeryenal. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a PyTorch implementation of an age prediction model based on the DEX (Deep EXpectation) approach using a VGG-16 backbone. The model was trained on the UTKFace dataset and predicts the expected age from a facia…
Downloads · 30 days
6
43% of all-time downloads
All-time downloads
14
Public
Repo size
539 MB
Likes
0
Public
Click a slice to open those files.
.bin539 MB · 100%
From the Hugging Face model README
This is a PyTorch implementation of an age prediction model based on the DEX (Deep EXpectation) approach using a VGG-16 backbone. The model was trained on the UTKFace dataset and predicts the expected age from a facial image.
pytorch_model.bin: Trained model weightsconfig.json: Model metadatamodel.py: The PyTorch model class (optional but included here)README.md: You’re reading it!from model import DEXAgeModel
import torch
model = DEXAgeModel(num_bins=101)
state_dict = torch.load("pytorch_model.bin", map_location="cpu")
model.load_state_dict(state_dict)
model.eval()