david-wb / gaze-estimation

A deep learning based gaze estimation framework implemented with PyTorch
158 stars 31 forks source link

query regarding "run_with_webcam.py" file #10

Open ErHimani opened 2 years ago

ErHimani commented 2 years ago

I am getting error in the following line: torch.load('checkpoint.pt', map_location=device). The error states that 'checkpoint.pt' is missing. Can you guide us on How to get 'checkpoint.pt' file or how to rid of the error.

Thank You Himani

Maitri-J commented 2 years ago

The "./scripts/fetch_models.sh" line should've downloaded the file, but I had the same problem where the checkpoint.pt is not downloaded properly. So, run this link to download the checkpoint.pt https://drive.google.com/uc?export=download&id=17aJAUAIl-1VPvJcPeahH8MQrcLRpy9Li

emrecolak55 commented 7 months ago

I've faced the same problem. Just use the link @Maitri-J had shared and put it into the project folder.