Downloads · 30 days
0
hysts/ptgaze-eth-xgaze-resnet18
ptgaze-eth-xgaze-resnet18 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 eth-xgaze 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 the ETH-XGa…
Downloads · 30 days
0
Access
Public
Updated Jul 5, 2026
Parameters
11.2M
44.8 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors44.8 MB · 100%
From the Hugging Face model README
Appearance-based gaze estimation model used by the eth-xgaze 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 the ETH-XGaze protocol (Zhang et al., ECCV 2020).
resnet18 with a 2-unit output head.pth checkpoint with ptgaze-convert (tensor-identical). The file metadata records mode: ETH-XGaze and model: resnet18.The input normalization must match the conventions the training labels were generated with. See the notes on data normalization in the demo README.
Mean angle error of 4.878 degrees on a held-out validation split of 10 subjects (single run; from the training repo results).
pip install ptgaze
ptgaze --mode eth-xgaze
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 from the raw ETH-XGaze dataset. It is not one of the baseline models provided by the dataset authors; it was trained independently, for research purposes, with hysts/pl_gaze_estimation.
ETH-XGaze is distributed by ETH Zurich under a custom research agreement. Among other things, the agreement restricts the dataset to non-commercial research use, prohibits training models on it for commercial use, and prohibits redistributing the dataset and the models provided by the authors.
The agreement 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, Seonwook Park, Thabo Beeler, Derek Bradley, Siyu Tang, and Otmar Hilliges. "ETH-XGaze: A Large Scale Dataset for Gaze Estimation under Extreme Head Pose and Gaze Variation." In European Conference on Computer Vision (ECCV), 2020. arXiv:2007.15837