|
Download README.md from StonyBrook-CVLab/omnigf-annotations: direct link, hf CLI and curl.
- Browser
- Download file 5.93 kB
-
https://huggingface.co/datasets/StonyBrook-CVLab/omnigf-annotations/resolve/main/README.md
- Command line
-
hf download hf://datasets/StonyBrook-CVLab/omnigf-annotations/README.md
-
curl -L -o README.md https://huggingface.co/datasets/StonyBrook-CVLab/omnigf-annotations/resolve/main/README.md
5.93 kB
| license: cc-by-nc-4.0 | |
| pretty_name: OmniGF Annotations | |
| tags: | |
| - gaze-following | |
| - gaze-target-estimation | |
| - semantic-gaze | |
| - computer-vision | |
| # OmniGF Annotations | |
| Annotation files used to train and evaluate **OmniGF: A Dual-Branch Vision-Language | |
| Framework for Unified Gaze Following** (NeurIPS 2026 Spotlight, | |
| [paper](https://arxiv.org/abs/2605.26399), [code](https://github.com/cvlab-stonybrook/omnigf), | |
| [weights](https://huggingface.co/StonyBrook-CVLab/omnigf)). | |
| This repository provides annotations only. Images must be downloaded from | |
| [GazeFollow](https://www.dropbox.com/s/3ejt9pm57ht2ed4/gazefollow_extended.zip?dl=0). | |
| ## Contents | |
| | File | Rows | Used for | | |
| |---|---|---| | |
| | `VSGaze/semgaze_merge/gazefollow_train_with_semgaze_corrected.h5` | 103,455 | Semantic gaze training (refined labels) | | |
| | `VSGaze/semgaze_merge/gazefollow_val_with_semgaze_corrected.h5` | 4,486 | Semantic gaze validation (refined labels) | | |
| | `VSGaze/semgaze_merge/gazefollow_test_with_semgaze.h5` | 4,782 | Semantic gaze evaluation (original SemGaze labels) | | |
| | `VSGaze/gazefollow_train_extended.h5` | 113,668 | GazeFollow training with in/out supervision | | |
| | `vocab/gazefollow/` | 3,790 train / 346 test labels | CLIP text embeddings of the label vocabularies | | |
| The layout matches the `data/` folder expected by the OmniGF code | |
| (`scripts/paths.sh`). To download into a clone of the code repository: | |
| ```bash | |
| hf download StonyBrook-CVLab/omnigf-annotations --repo-type dataset --local-dir data | |
| ``` | |
| The remaining VSGaze annotation files (`gazefollow_{train,val,test}.h5`, VAT, ChildPlay, | |
| VideoCoAtt, UCO-LAEO) come from the [VSGaze release](https://doi.org/10.34777/jggs-1128) | |
| and go in the same `data/VSGaze/` folder. | |
| All `.h5` files are pandas DataFrames stored under the key `"data"`: | |
| ```python | |
| import pandas as pd | |
| df = pd.read_hdf("data/VSGaze/semgaze_merge/gazefollow_test_with_semgaze.h5", "data") | |
| ``` | |
| ## Semantic gaze labels on GazeFollow | |
| These files merge the semantic gaze-target labels of | |
| [SemGaze](https://github.com/idiap/semgaze) (Tafasca et al., NeurIPS 2024) into the | |
| VSGaze GazeFollow annotations, so that every annotated person carries the category of | |
| the object they look at, alongside their head box and gaze point. | |
| For the **train and validation** splits, we refined the SemGaze labels with a | |
| vision-language model. It inspected each image together with the person's head box and | |
| gaze point, and corrected labels that named a nearby object, the background or the | |
| wrong entity instead of the actual gaze target. Labels the model could not resolve | |
| were left empty, and those persons receive no semantic supervision. The **test** split | |
| keeps the original SemGaze labels, so that results remain comparable with prior work. | |
| <p align="center"> | |
| <img src="assets/semantic_label_refinement_examples.jpg" alt="Original vs. refined semantic labels" width="100%"> | |
| </p> | |
| <p align="center"><em>Examples of refined training labels. Cyan box: head; red dot: annotated | |
| gaze point. Images from GazeFollow.</em></p> | |
| Each row is one image; per-person fields are lists aligned with `head_bboxes`. Besides | |
| the VSGaze columns (`path`, `head_bboxes`, `person_ids`, `gaze_points` or | |
| `gaze_points_p1` for test, `inout`, `pairs`, `lah_pairs`), the main added columns are: | |
| | Column | Content | | |
| |---|---| | |
| | `semgaze_head_labels` | Gaze-target category per person (string; `""` if the person has no semantic label) | | |
| | `semgaze_head_is_target` | 1 if the person was matched to a SemGaze annotation | | |
| | `semgaze_head_bboxes` | SemGaze head box for matched persons (`-1` otherwise) | | |
| | `semgaze_head_multi_test_label_ids` | Test-vocabulary ids of all valid labels for the person (used for multi-label accuracy) | | |
| The remaining `semgaze_*` columns record how SemGaze annotations were matched to | |
| VSGaze heads. | |
| `vocab/gazefollow/` holds L2-normalised CLIP (`openai/clip-vit-base-patch16`) text | |
| embeddings of the label vocabularies, computed with the prompt `"a photo of a {}"`. | |
| They are used to map predicted categories onto the 346-class test vocabulary. | |
| ## Extended GazeFollow training annotations | |
| The VSGaze version of the GazeFollow training set contains no persons whose gaze target | |
| is outside the image. `gazefollow_train_extended.h5` adds them back from the original | |
| GazeFollow annotations. It matches each out-of-frame person to a VSGaze head box | |
| (IoU > 0.3) and sets `inout = 0`, or adds the person as a new head when there is no | |
| match. In total, 10,620 persons are labelled out-of-frame. OmniGF uses this file to | |
| train its in/out prediction on GazeFollow (`VARIANT=inout bash scripts/train_gazefollow.sh`), | |
| which is the starting point for fine-tuning on VideoAttentionTarget, ChildPlay and | |
| VSGaze. | |
| ## License | |
| These annotations are released under | |
| [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). They are derived from | |
| the VSGaze annotations and the SemGaze artifacts of the Idiap Research Institute (both | |
| CC BY-NC 4.0) and from GazeFollow. Use is limited to non-commercial purposes. Please also | |
| respect the terms of the original datasets. | |
| ## Citation | |
| If you use these annotations, please cite OmniGF: | |
| ```bibtex | |
| @inproceedings{miao2026omnigf, | |
| title = {OmniGF: A Dual-Branch Vision-Language Framework for Unified Gaze Following}, | |
| author = {Miao, Qiaomu and Wu, Haoyu and Xu, Jingyi and Hoai, Minh and Samaras, Dimitris}, | |
| booktitle = {Advances in Neural Information Processing Systems (NeurIPS)}, | |
| year = {2026} | |
| } | |
| ``` | |
| Please also cite the works these annotations build on: | |
| - **GazeFollow:** Recasens et al., *Where are they looking?*, NeurIPS 2015. | |
| - **VSGaze / MTGS:** Gupta et al., *MTGS: A Novel Framework for Multi-Person Temporal Gaze | |
| Following and Social Gaze Prediction*, NeurIPS 2024 | |
| ([VSGaze data](https://doi.org/10.34777/jggs-1128)). | |
| - **SemGaze:** Tafasca et al., *Toward Semantic Gaze Target Detection*, NeurIPS 2024 | |
| ([code and data](https://github.com/idiap/semgaze)). | |