-
Create a conda virtual env and activate it.
conda create -n ViTGaze python==3.9.18 conda activate ViTGaze
-
Install packages.
cd path/to/ViTGaze pip install -r requirements.txt
-
Install detectron2 , follow its documentation. For ViTGaze, we recommend to build it from latest source code.
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'