gaze-estimation icon indicating copy to clipboard operation
gaze-estimation copied to clipboard

query regarding "run_with_webcam.py" file

Open ErHimani opened this issue 2 years ago • 2 comments

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

ErHimani avatar Aug 09 '22 09:08 ErHimani

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

Maitri-J avatar Aug 15 '22 19:08 Maitri-J

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

emrecolak55 avatar Mar 11 '24 15:03 emrecolak55