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

RuntimeError: Unable to open /content/drive/My Drive/Colab Notebooks/LipNet-master/../common/predictors/shape_predictor_68_face_landmarks.dat #123

Open
ola512-aa opened this issue Aug 5, 2021 · 1 comment

Comments

@ola512-aa
Copy link

can any one help me to solve this problem ??
!python predict.py evaluation/models/overlapped-weights368.h5 evaluation/samples/id2_vcd_swwp2s.mpg

2021-08-05 21:48:07.043957: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0

Loading data from disk...
Traceback (most recent call last):
File "predict.py", line 60, in
video, result = predict(sys.argv[1], sys.argv[2])
File "predict.py", line 27, in predict
video.from_video(video_path)
File "/content/drive/My Drive/Colab Notebooks/LipNet-master/lipnet/lipreading/videos.py", line 121, in from_video
self.handle_type(frames)
File "/content/drive/My Drive/Colab Notebooks/LipNet-master/lipnet/lipreading/videos.py", line 132, in handle_type
self.process_frames_face(frames)
File "/content/drive/My Drive/Colab Notebooks/LipNet-master/lipnet/lipreading/videos.py", line 138, in process_frames_face
predictor = dlib.shape_predictor(self.face_predictor_path)
RuntimeError: Unable to open /content/drive/My Drive/Colab Notebooks/LipNet-master/../common/predictors/shape_predictor_68_face_landmarks.dat

@Mr-Usama
Copy link

Mr-Usama commented Apr 6, 2022

-the problem is missing the ( shape_predictor_68_face_landmarks.dat ) file.

  • download and paste in the project directory and again give the path, this will resolve the issue.

file link : https://github.com/italojs/facial-landmarks-recognition/blob/master/shape_predictor_68_face_landmarks.dat

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