Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mayanktiwariiiitdmj opened this issue Dec 23, 2020 · 3 comments

Comments

@mayanktiwariiiitdmj
Copy link

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.

@cyjouc
Copy link

cyjouc commented Jan 21, 2021

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

@apchenstu
Copy link
Owner

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",

@hariskhan101
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants