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

compilation errors #12

Open
noob8 opened this issue Jan 8, 2018 · 2 comments
Open

compilation errors #12

noob8 opened this issue Jan 8, 2018 · 2 comments

Comments

@noob8
Copy link

noob8 commented Jan 8, 2018

While trying to train i get the following error:
python face2face-demo/generate_train_data.py --file angela_merkel_speech.mp4 --num 400 --landmark-model shape_predictor_68_face_landmarks.dat

Traceback (most recent call last):
File "face2face-demo/generate_train_data.py", line 96, in
predictor = dlib.shape_predictor(args.face_landmark_shape_file)
RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat

So i skipped training and used your validated model and got the following error:
python face2face-demo/reduce_model.py --model-input Desktop/combined/val --model-output Desktop/combined
2018-01-08 13:50:50.597204: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Traceback (most recent call last):
File "face2face-demo/reduce_model.py", line 215, in
saver.restore(sess, checkpoint)
File "/home/oem/.virtualenvs/facecourse-py3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1662, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.

how can i do?

@noob8
Copy link
Author

noob8 commented Jan 9, 2018

so i downloaded a shape_predictor_68_face_landmarks.dat file and added the path location to the command for training. But now i get this error instead?
GStreamer: Error opening bin: Unrecoverable syntax error while parsing pipeline angela_merkel_speech.mp4 [INFO] elapsed time (total): 0.01 [INFO] approx. FPS: 0.00

downloaded dat file from Akshay:
https://github.com/AKSHAYUBHAT/TensorFace/blob/master/openface/models/dlib/shape_predictor_68_face_landmarks.dat

new code with file location:
python face2face-demo/generate_train_data.py --file angela_merkel_speech.mp4 --num 400 --landmark-model Desktop/combined/shape_predictor_68_face_landmarks.dat

@Willianflower
Copy link

I encountered the same problem, have you found way to solve it ?

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

2 participants