csbhr / FFHQ-UV

The official repository of our CVPR2023 paper "FFHQ-UV: Normalized Facial UV-Texture Dataset for 3D Face Reconstruction".
MIT License
448 stars 47 forks source link

请教个问题 #37

Closed pyh007 closed 11 months ago

pyh007 commented 1 year ago

2023-07-13 15:01:07.375403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 2023-07-13 15:01:07.375417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0 2023-07-13 15:01:07.375429: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0 2023-07-13 15:01:07.375440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0 2023-07-13 15:01:07.375451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0 2023-07-13 15:01:07.375462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0 2023-07-13 15:01:07.375474: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2023-07-13 15:01:07.376538: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0 2023-07-13 15:01:07.376562: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix: 2023-07-13 15:01:07.376571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165] 0 2023-07-13 15:01:07.376577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0: N 2023-07-13 15:01:07.377548: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10322 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:40:00.0, compute capability: 7.5) /root/miniconda3/envs/ffhq-uv/lib/python3.7/site-packages/tensorflow_core/python/client/session.py:1750: UserWarning: An interactive session is already active. This can cause out-of-memory errors in some cases. You must explicitly call InteractiveSession.close() to release resources held by the other session(s). warnings.warn('An interactive session is already active. This can ' WARNING:tensorflow:From /root/FFHQ-UV-main/DataSet_Step4_UV_Texture/third_party/mtcnn/detect_face_with_mtcnn.py:289: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.

loading the recon model from ../checkpoints/deep3d_model/epoch_latest.pth 2023-07-13 15:01:15.146694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2023-07-13 15:01:16.773960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0 /root/FFHQ-UV-main/DataSet_Step4_UV_Texture/preprocess/preprocessfunc.py:45: FutureWarning: rcond parameter will change to the default of machine precision times max(M, N) where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass rcond=None, to keep using the old, explicitly pass rcond=-1. k, , , = np.linalg.lstsq(A, b) /root/FFHQ-UV-main/DataSet_Step4_UV_Texture/preprocess/init.py:82: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. trans_params = np.array([w0, h0, s, t[0], t[1], self.target_size]) Unwrap texture 01223 took 9.9289 seconds. Unwrap texture process done!

Failed List: [] 为什么我的第四步跑完只生成了一个demo的uv,而我在image里面放了三张图,dataset_examples里的attributes attributes_ms_api edit这三个文件夹里也没有生成对应的另外两张图片的内容。是漏了什么步骤吗

pyh007 commented 1 year ago

sbs ms_api哪里修改没对