ResNet50 (pretrained on ImageNet)layer3 and layer4) were unfrozen and trained with a low learning rate.total_loss = loss_age + (20 * loss_gender)pytorch_lightning checkpoint. It can be loaded as follows:1from huggingface_hub import hf_hub_download
2import pytorch_lightning as pl
3
4# Make sure the ResNet50FinetuneModel class is defined
5model_path = hf_hub_download(repo_id="MayKeeGarmi/dlgenai-nppe", filename="model.ckpt")
6model = ResNet50FinetuneModel.load_from_checkpoint(model_path)