hysts / pytorch_mpiigaze

An unofficial PyTorch implementation of MPIIGaze and MPIIFaceGaze
MIT License
346 stars 85 forks source link

Assertion Error MPIIGaze.h5 #62

Closed gaga1313 closed 2 years ago

gaga1313 commented 2 years ago

The script used for downloading the MPIIGaze data does not download any MPIIGaze.h5 file, which is required for executing the train.py . The train.py program throws an error since the create_dataset function could not locate the path present in _config.dataset.datasetdir that is datasets/MPIIGaze.h5

Error: image

Thankyou

hysts commented 2 years ago

Hi, @gaga1313

Have you run both of these commands?

bash scripts/download_mpiigaze_dataset.sh
python tools/preprocess_mpiigaze.py --dataset datasets/MPIIGaze -o datasets/

The original MPIIGaze dataset is in tar.gz format and can be downloaded with the first command. The second command creates the h5 dataset from it.

gaga1313 commented 2 years ago

Oh, I missed the second one. Thanks