Views
No views yet
1import torch
2from torchvision import models
3
4# Load the model (example if using torch.load)
5model = torch.load("path_to_checkpoint.pth")
6model.eval()Or, if packaged in a model class:
1from affectsense import AffectSenseModel
2
3model = AffectSenseModel.from_pretrained("tawheed-tariq/AffectSense")@misc{affectsense2025,
title={AffectSense: CNN-based Emotion Recognition Model using ResNet-50},
author={Tariq, Tavaheed},
year={2025},
howpublished={\url{https://huggingface.co/tawheed-tariq/AffectSense}},
}