Closed Nixon1979 closed 4 years ago
The code by default uses GPU. Please check if your keras + tensorflow installation is set to use CUDA. Also, please paste the error log below so that I can help you out further.
This issue got solved by re-building dlib from source and make it to use cuDNN. Now GPU is getting used but my GPU has only 12 GB ram and i am getting out of memory error
Using TensorFlow backend.
Number of frames available for inference: 1861
(80, 2083)
Length of mel chunks: 635
0%| | 0/30 [00:12<?, ?it/s]
Traceback (most recent call last): | 0/30 [00:00<?, ?it/s]
File "batch_inference.py", line 215, in
Please refer to line027 for the argument you can pass while running the program “face_det_batch_size”. Reduce it to use less memory.
Great was able to move ahead.. but this one now.... extremely sorry for these issues being reported
Total params: 49,573,971 Trainable params: 49,543,123 Non-trainable params: 30,848
Model Created
Traceback (most recent call last):
File "batch_inference.py", line 215, in
Great able to generate.. I had used the master branch weights..
What steps do you recommend to improve the quality of the lip movement....
That is an open-ended question, and we are still looking into ways to improve the generation :)
@Nixon1979 I'm facing the same issue where every epoch is taking a very long time. I've tried a few methods to install dlib from source but it isn't working yet and I'm getting this.
Could you please guide me to the correct installation source for the same!
In our case just pip install dlib
worked as the CUDA paths were visible to the installer probably. Ensure your cuda paths are set, for instance, as indicated in the error above: CUDA_TOOLKIT_ROOT_DIR
is not set. You can probably look into this guide as well. Or any other link you get when you search for install dlib with cuda support
The process is not using GPU, and CPU is taking 11 hours to complete a 1-minute video. Any idea what could be the reason?