Home

Awesome

Code for #1 submission in ETH-XGaze Competition

Challenge

Official implementation of ETH-XGaze Competition #1 Solution.

Requirements

File Structure

Please download our pretrained models in GoogleDrive or baiduyun,the password is eo7p.

Pretrained models in gaze2021/checkpoints/* should should be placed into checkpoints folder, and gaze2021/datasets/* should be placed into datasets folder.

The training data xgaze_224 should be put in datasets folder. Or change data_dir argument in configs for the data path.

The final structure would look like:

├── datasets			
│   ├── xgaze_224
│   │   ├── train
│   │   │   ├── subject0000.h5
│   │   │   ├── ...
│   │   ├── test
│   │   │   ├── ...
│   ├── xgaze_landmarks
│   ├── train_eval_test_split.json
├── checkpoints
│   │   ├── botnet
│   │   ├── ...
├── src1
├── src2
├── requirements.txt
├── README.md

Train & Verify

Code for training HRNet and BoTNet is in src1 folder. To train HRNet as an example:

cd src1
./scripts/train_hrnet.sh

Code for training ResNeSt and iTracker-MHSA is in src2 folder. To train ResNeSt as an example:

cd src2
./train.sh

To verify all results we submitted to the leaderboard, please implement verify.sh in src1 and src2.

Arxiv link

https://arxiv.org/pdf/2107.01980.pdf