Skip to content

JEJEMEME/AgeSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ฑ AgeSense

A lightweight, mobile-friendly age prediction model optimized for deployment across multiple platforms (PyTorch, ONNX, CoreML, TFLite).


๐ŸŽฏ Overview

AgeSense is a mobile-optimized deep learning model for predicting age from facial images. The model leverages a modified MobileNetV2 architecture that benefits from enhanced data augmentation and extended fine-tuning for improved performance. It is provided in multiple formats (PyTorch, ONNX, CoreML) so you can easily integrate it into iOS, Android, or web applications.


๐Ÿ” Dataset


โš™๏ธ Model Details

  • Architecture: Modified MobileNetV2 (Pretrained)
  • Task: Age Regression
  • Training Data Split: 80% train / 20% validation
  • Epochs: 30
  • Loss Function: Mean Squared Error (MSE Loss)
  • Optimizer: AdamW with differential learning rates
    • Backbone: lr = 1e-4
    • Classifier: lr = 1e-3
  • Learning Rate Scheduler: StepLR (decay every 10 epochs)
  • Data Augmentation: Uses RandomResizedCrop, RandomHorizontalFlip, RandomRotation, and ColorJitter for better generalization.
  • Fine-Tuning: Extended fine-tuning by freezing only the initial layers (i < 10) of MobileNetV2.

๐Ÿ“Š Performance

Metric Result
Mean Absolute Error (MAE) 5.76 years

(Evaluated on the validation set after 30 epochs.)


๐Ÿš€ Usage

The trained model is available in the following formats for seamless integration into your mobile or web applications:

  • PyTorch (age_sense.pt or one_a_complete_age_model.pth)
  • ONNX (age_sense.onnx)
  • CoreML (age_sense.mlmodel & age_sense_quantized.mlmodel)

๐Ÿ“œ License

  • Author: ray@jejememe
  • License: MIT License

๐Ÿ“ฎ Contact

For inquiries, please contact:

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors