Download datasets:
scripts/download_mpiigaze_dataset.sh
Preprocess datasets:
python3 tools/preprocess_mpiigaze.py --dataset datasets/MPIIGaze -o datasets/
Train:
python3 train.py --config configs/mpiigaze/lenet_train.yaml
Evaluate:
python3 evaluate.py --config configs/mpiigaze/lenet_eval.yaml
In the config file, there are many parameters can be changed.
If you want to train all datasets about 15 persons, use scripts/run_all_mpiigaze_lenet.sh.
For the Demo Video, because I only want this to be a demo, so I just let it trains for one epoch.