microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.18k stars 443 forks source link

Error while executing python preprocess_img.py script #133

Open Iswarya05 opened 3 years ago

Iswarya05 commented 3 years ago

Hi, I have encountered the below error on executing preprocess_img.py script. can you please help on this issue.

 preprocess_img py

YuDeng commented 3 years ago

Our image preprocessing uses GPU explicitly. If you do not have a GPU, you may remove the gpu assignment here: https://github.com/microsoft/Deep3DFaceReconstruction/blob/5b131a3e67597da67409486e20db50007f48427d/preprocess_img.py#L127