tranluan / Nonlinear_Face_3DMM

Source code for "Nonlinear 3D Face Morphable Model"
http://cvlab.cse.msu.edu/project-nonlinear-3dmm.html
Apache License 2.0
676 stars 123 forks source link

About requirements #51

Open HOMGH opened 4 years ago

HOMGH commented 4 years ago

It should be noted that for running the main file for training the model, Tensorflow 1.8 and Python 2 are needed.

HOMGH commented 4 years ago

Hi @tranluan Would you please clarify about the environment and configuration in which your code can be run? I searched through the issues section in your 3D nonlinear repository and it seems others have the same issue. I have a problem with warp_texture function and specifically ZBuffer_Rendering_CUDA_op_v2_sz224. I compiled _op_v2_sz224.sh but I couldn't run the "rendering_example.py". My system config is: Ubuntu 18, python 2.7, tensorflow 1.18. Is there anything wrong with my config which is not compatible or there should be sth else?

The error I get when I run rendering_example.py: InternalError: Blas xGEMMBatched launch failed : a.shape=[16,4,3], b.shape=[16,53215,4], m=3, n=53215, k=4, batch_size=16 [[Node: MatMul = BatchMatMul[T=DT_FLOAT, adj_x=true, adj_y=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](concat, concat_1)]] [[Node: Reshape_43/_147 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_1301_Reshape_43", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

cyjouc commented 3 years ago

Blas xGEMMBatched launch failed : a.shape=[16,4,3], b.shape=[16,53215,4], m=3, n=53215, k=4, batch_size=16 [[Node: MatMul = BatchMatMul[T=DT_FLOAT, adj_x=true, adj_y=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](concat, concat_1)]] [[Node: Reshape_43/_147 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task::0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_1301_Reshape_43", tensor_type=DT_INT32,_device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

cyjouc commented 3 years ago

tensorflow/stream_executor/cuda/cuda_blas.cc:654] failed to run cuBLAS routine cublasSgemmBatched: CUBLAS_STATUS_EXECUTION_FAILED tensorflow/stream_executor/cuda/cuda_blas.cc:2413] Internal: failed BLAS call, see log for details

cyjouc commented 3 years ago

Hi, how do you solve the problem?

qaz8788817 commented 8 months ago

Blas xGEMMBatched launch failed : a.shape=[16,4,3], b.shape=[16,53215,4], m=3, n=53215, k=4, batch_size=16Blas xGEMMBatched 啟動失敗:a.shape=[16,4,3]、b.shape=[16,53215,4]、m=3、n=53215、k=4、batch_size=16 [[Node: MatMul = BatchMatMul[T=DT_FLOAT, adj_x=true, adj_y=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](concat, concat_1)]] [[節點:MatMul = BatchMatMulT=DT_FLOAT,adj_x=true,adj_y=true,_device="/job:localhost/replica:0/task:0/device:GPU:0"]] [[Node: Reshape_43/_147 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task::0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_1301_Reshape_43", tensor_type=DT_INT32,_device="/job:localhost/replica:0/task:0/device:CPU:0"]] [[節點:Reshape_43/_147 = _Recv client_termminate=false,recv_device="/job:localhost/replica:0/task::0/device:CPU:0",send_device="/job:localhost/replica:0/tasklica:0/task :0 /裝置:GPU:0”,send_device_incarnation = 1,tensor_name =“edge_1301_Reshape_43”,tensor_type = DT_INT32,_device =“/作業:localhost /複製:0/任務:0/裝置:CPU:0”]]

Hi, Did you solve this problem? And how do you solve it?