Downloads · 30 days
0
hysts/ptgaze-mpiigaze-resnet-preact
ptgaze-mpiigaze-resnet-preact 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 mpiigaze mode of ptgaze. It takes a normalized grayscale eye image (36x60) together with the normalized 2D head pose and predicts the gaze direction as pitch and yaw…
Downloads · 30 days
0
Access
Public
Updated Jul 5, 2026
Parameters
77.5K
314 KB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors314 KB · 98%
From the Hugging Face model README
Appearance-based gaze estimation model used by the mpiigaze mode of ptgaze. It takes a normalized grayscale eye image (36x60) together with the normalized 2D head pose and predicts the gaze direction as pitch and yaw angles in the normalized space, following Zhang et al. (MPIIGaze, TPAMI 2019).
ptgaze/models/mpiigaze/resnet_preact.py.pth checkpoint with ptgaze-convert (tensor-identical). The file metadata records mode: MPIIGaze and model: resnet_preact.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 5.73 degrees with leave-one-person-out evaluation on MPIIGaze (from the training repo results).
pip install ptgaze
ptgaze --mode mpiigaze
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 MPIIGaze 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. "MPIIGaze: Real-World Dataset and Deep Appearance-Based Gaze Estimation." IEEE Transactions on Pattern Analysis and Machine Intelligence 41 (2019). arXiv:1711.09017