Facial_Details_Synthesis icon indicating copy to clipboard operation
Facial_Details_Synthesis copied to clipboard

LOG (Cannot open file [D:\Folder_1\init_facial_fidelity_capture\results\019615\result.obj] )

Open mayanktiwariiiitdmj opened this issue 4 years ago • 3 comments

When I am executing the following command in the PyCharm terminal

python facialDetails.py -i ./samples/details/019615.jpg -o ./results

then in the output, I am getting the following error:

Load preTrain model done. Load preTrain model done. Loading the model Model loaded Starting tracking D:\PycharmProjects\init_facial_fidelity_capture\samples\details\019615.jpg ===> Landmarks detection done.

===> estimating proxy of D:\PycharmProjects\init_facial_fidelity_capture\samples\details\019615.jpg Using expression prior from Facial Action Coding features. Error loading the Morphable Model: Failed to read 16 bytes from input stream! Read 9 ===> predicting details of D:\PycharmProjects\init_facial_fidelity_capture\samples\details\019615.jpg

LOG (Cannot open file [D:\PycharmProjects\init_facial_fidelity_capture\results\019615\result.obj]) ~In file (e:\face2face\code\release_v1\src\face_rendering\src\includes\ind\loaders.cc) , line (81) ERROR () ~In file (e:\face2face\code\release_v1\src\face_rendering\src\includes\ind\loaders.cc) , line (83)

Please help me in solving this.

mayanktiwariiiitdmj avatar Dec 23 '20 10:12 mayanktiwariiiitdmj

Hi,your environment is ok?would you like share the experience with me? for exmaply,tensorflow and keras version?

cyjouc avatar Jan 21 '21 09:01 cyjouc

it looks likes the renderer attempts to load the obj file but it doesn't exist, so please check whether the folder exists the file "D:\PycharmProjects\init_facial_fidelity_capture\results\019615\result.obj",

apchenstu avatar Apr 13 '21 12:04 apchenstu

Hello mayanktiwariiiitdmj, How did you resolved this issue, I am Also facing a same issue but of a .mtl file

Here's the error message:

LOG (WARN: Material file [ result.mtl ] not found. WARN: Failed to load material file(s). Use default material. ) ~In file (e:\face2face\code\release_v1\src\face_rendering\src\includes\ind\loaders.cc) , line (81)

hariskhan101 avatar Jul 31 '23 18:07 hariskhan101