Downloads · 30 days
0
hysts/ptgaze-mpiifacegaze-resnet-simple
ptgaze-mpiifacegaze-resnet-simple is a machine learning model from hysts. 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.
Appearance-based gaze estimation model used by the mpiifacegaze mode of ptgaze. It takes a normalized full-face image and predicts the gaze direction as pitch and yaw angles in the normalized space, following Zhang et…
Downloads · 30 days
0
Access
Public
Updated Jul 5, 2026
Parameters
2.9M
11.6 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors11.6 MB · 100%
From the Hugging Face model README
Appearance-based gaze estimation model used by the mpiifacegaze mode of ptgaze. It takes a normalized full-face image and predicts the gaze direction as pitch and yaw angles in the normalized space, following Zhang et al. (ETRA 2018 normalization; full-face model, CVPRW 2017).
ptgaze/models/mpiifacegaze/resnet_simple.py.pth checkpoint with ptgaze-convert (tensor-identical). The file metadata records mode: MPIIFaceGaze and model: resnet_simple.The input normalization must match the conventions the training labels were generated with. See the notes on data normalization in the demo README.
Mean test angle error of 4.83 degrees with leave-one-person-out evaluation on MPIIFaceGaze (from the training repo results).
pip install ptgaze
ptgaze --mode mpiifacegaze
The demo downloads this file automatically. To inspect the weights directly:
from safetensors.torch import load_file
state_dict = load_file("model.safetensors")
This model was trained on the MPIIFaceGaze dataset, which is distributed under CC BY-NC-SA 4.0 (non-commercial). The model was trained for research purposes.
The dataset license binds the dataset recipient; it does not automatically extend to users of these weights. However, the legal status of model weights trained on datasets with restrictive terms is not settled. If you intend to use this model commercially, assess that risk yourself.
MIT, the same license as the ptgaze code (see the LICENSE file in this repository). The license covers the rights the author holds in these weights; see the Training data section above for the terms of the dataset they were trained on.
If you use this model, please cite the dataset paper:
Zhang, Xucong, Yusuke Sugano, Mario Fritz, and Andreas Bulling. "It's Written All Over Your Face: Full-Face Appearance-Based Gaze Estimation." Proc. of the IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2017. arXiv:1611.08860