Downloads · 30 days
0
MayKeeGarmi/dlgenai-nppe
dlgenai-nppe is a machine learning model from MayKeeGarmi. 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 mit.
This is a model created for the "Sep 25 DLGenAI NPPE 1" Kaggle competition.
Downloads · 30 days
0
Access
Public
Updated Nov 9, 2025
Repo size
433 MB
Likes
0
Public
Click a slice to open those files.
.ckpt308 MB · 100%
From the Hugging Face model README
This is a model created for the "Sep 25 DLGenAI NPPE 1" Kaggle competition.
The goal is to predict a person's Age (regression) and Gender (binary classification) from a facial image.
This repository contains a finetuned ResNet50 model.
ResNet50 (pretrained on ImageNet)layer3 and layer4) were unfrozen and trained with a low learning rate.total_loss = loss_age + (20 * loss_gender)This model is a pytorch_lightning checkpoint. It can be loaded as follows:
from huggingface_hub import hf_hub_download
import pytorch_lightning as pl
# Make sure the ResNet50FinetuneModel class is defined
model_path = hf_hub_download(repo_id="MayKeeGarmi/dlgenai-nppe", filename="model.ckpt")
model = ResNet50FinetuneModel.load_from_checkpoint(model_path)