yiranran / Audio-driven-TalkingFace-HeadPose

Code for "Audio-driven Talking Face Video Generation with Learning-based Personalized Head Pose" (Arxiv 2020) and "Predicting Personalized Head Movement From Short Video and Speech Signal" (TMM 2022)
https://ieeexplore.ieee.org/document/9894719
721 stars 146 forks source link

When I run CUDA_VISIBLE_DEVICES=0,1 python demo_19news.py ../Data/31 this is happened! #82

Closed muxiddin19 closed 2 years ago

muxiddin19 commented 2 years ago

image Please, any suggestions!

muxiddin19 commented 2 years ago

image Please, any suggestions!

Can someone explain it to me, please!

muxiddin19 commented 2 years ago

image Please, any suggestions!

image (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer/mesh_renderer/kernels# > g++ -std=c++11 -shared rasterize_triangles_grad.cc rasterize_triangles_op.cc rasterize_triangles_impl.cc rasterize_triangles_impl.h -o rasterize_triangles_kernel.so -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -I /opt/conda/envs/tf3/lib/python3.6/site-packages/tensorflow/include -I /opt/conda/envs/tf3/lib/python3.6/site-packages/tensorflow/include/external/nsync/public -L //opt/conda/envs/tf3/lib/python3.6/site-packages/tensorflow -ltensorflow_framework -O2 (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer/mesh_renderer/kernels# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer/mesh_renderer# edit rasterize_triangles.py (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer/mesh_renderer# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose# cd Audio/code/mesh_renderer (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Audio/code/mesh_renderer# edit rasterize_triangles.py (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Audio/code/mesh_renderer# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Audio/code# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Audio# cd .. (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose# cd Deep3DFaceReconstruction/; CUDA_VISIBLE_DEVICES=0,1 python demo_19news.py ../Data/31 ../Data/31 31 img_list len: 400 WARNING: Logging before flag parsing goes to stderr. W0128 22:37:57.994412 140300431483072 deprecation_wrapper.py:119] From demo_19news.py:57: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.

W0128 22:37:57.995737 140300431483072 deprecation_wrapper.py:119] From demo_19news.py:18: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.

W0128 22:37:57.995901 140300431483072 deprecation_wrapper.py:119] From demo_19news.py:19: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.

W0128 22:37:58.788219 140300431483072 deprecation.py:323] From /workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer/mesh_renderer/mesh_renderer.py:163: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.where in 2.0, which has the same broadcast rule as np.where W0128 22:37:58.793146 140300431483072 deprecation_wrapper.py:119] From demo_19news.py:72: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2022-01-28 22:37:58.794199: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1 2022-01-28 22:37:58.808515: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties: name: Tesla V100-DGXS-32GB major: 7 minor: 0 memoryClockRate(GHz): 1.53 pciBusID: 0000:07:00.0 2022-01-28 22:37:58.811112: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 1 with properties: name: Tesla V100-DGXS-32GB major: 7 minor: 0 memoryClockRate(GHz): 1.53 pciBusID: 0000:08:00.0 2022-01-28 22:37:58.811236: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 2022-01-28 22:37:58.811331: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 2022-01-28 22:37:58.811433: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 2022-01-28 22:37:58.811529: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 2022-01-28 22:37:58.811613: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 2022-01-28 22:37:58.811695: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 2022-01-28 22:37:58.815304: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7 2022-01-28 22:37:58.815324: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1663] Cannot dlopen some GPU libraries. Skipping registering GPU devices... 2022-01-28 22:37:58.815578: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2022-01-28 22:37:59.609978: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55dd833b7ab0 executing computations on platform CUDA. Devices: 2022-01-28 22:37:59.610032: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Tesla V100-DGXS-32GB, Compute Capability 7.0 2022-01-28 22:37:59.610050: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (1): Tesla V100-DGXS-32GB, Compute Capability 7.0 2022-01-28 22:37:59.631608: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2198575000 Hz 2022-01-28 22:37:59.634795: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55dd857ffb00 executing computations on platform Host. Devices: 2022-01-28 22:37:59.634837: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): , 2022-01-28 22:37:59.634946: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix: 2022-01-28 22:37:59.634969: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]
reconstructing... 2022-01-28 22:38:00.027353: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile. Total n: 400 Time: 99.95480418205261 (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction# nvidia-smi Fri Jan 28 22:42:42 2022
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.181.07 Driver Version: 418.181.07 CUDA Version: 10.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla V100-DGXS... On | 00000000:07:00.0 On | 0 | | N/A 32C P0 35W / 300W | 349MiB / 32475MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 1 Tesla V100-DGXS... On | 00000000:08:00.0 Off | 0 | | N/A 32C P0 36W / 300W | 12MiB / 32478MiB | 0% Default | +-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| +-----------------------------------------------------------------------------+ (tf3) root@8d224e609b76:/workspace/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction# nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Wed_Oct_23_19:24:38_PDT_2019 Cuda compilation tools, release 10.2, V10.2.89