UniGaze: lightweight loader that pulls pretrained weights from Hugging Face
Reason this release was yanked:
package version is not compatible
Project description
UniGaze Easy Loader
A tiny, dependency-light Python package to load UniGaze pretrained models from Hugging Face.
📦 Installation
Install a matching PyTorch first.
** CUDA 12.8 example**
pip install torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
pip install unigaze
🚀 Quick Start
import torch
model = unigaze.load("unigaze_h14_joint", device="cuda") # downloads weights from HF on first use
# Input: normalized batch (B, 3, 224, 224)
image_normalized_batch = torch.ones((10, 3, 224, 224), device="cuda")
# Output: {'pred_gaze': (B, 2)} with (pitch, yaw)
pred_gaze = model(image_normalized_batch)['pred_gaze']
print(pred_gaze.shape) # torch.Size([10, 2])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unigaze-0.1.1.tar.gz
(16.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
unigaze-0.1.1-py3-none-any.whl
(16.1 kB
view details)
File details
Details for the file unigaze-0.1.1.tar.gz.
File metadata
- Download URL: unigaze-0.1.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e705874769ad4f4b9bc1d2b44554cc7f0288003f49d4357a6f265f75c53b623
|
|
| MD5 |
8487e0131d16d4b969275f4cebe31355
|
|
| BLAKE2b-256 |
c0ef21824e25ef6549621cb8207deb2de61544f6b71ccbff856bf8134f75d995
|
File details
Details for the file unigaze-0.1.1-py3-none-any.whl.
File metadata
- Download URL: unigaze-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3311d58da40f2af8b2fbb69171e10644a68573d94a7f0e9b205aea921e00420c
|
|
| MD5 |
be5e1e4baf76a205757dae15d169b150
|
|
| BLAKE2b-256 |
4ec1c52bb21b3de2325ca041014f7d242a079928da5c4121c5766dc1a45dfa18
|