Facial_Details_Synthesis icon indicating copy to clipboard operation
Facial_Details_Synthesis copied to clipboard

A problem in running facialDetails.py

Open seven-sent opened this issue 3 years ago • 5 comments

Thanks for publishing the project! But some problems occur when I run the code on my computer.

When I try python facialDetails.py -i ./samples/details/019615.jpg -o ./results --batchSize 10 it returns RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM How can I solve this problem?

seven-sent avatar Nov 01 '20 13:11 seven-sent

sorry for replying late, did you resolve this issue?

apchenstu avatar Apr 13 '21 12:04 apchenstu

Thank you for your reply. The problem appears on

 File "\released_v0.1\DFDN\models\networks.py", line 253, in forward
    netOut = nn.parallel.data_parallel(self.model, input, self.gpu_ids)

I tried to solve the problem through the Internet. Some people said it's because of data type problems, but I don't see any corresponding problems.

I wonder if it's because I only have one GPU. Then I tried again, but still failed. Could you give me some advice?

seven-sent avatar Apr 14 '21 07:04 seven-sent

one gpu should be fine, I didn't occur this issue before, could you post your pytorch, cuda version and GPU types?

apchenstu avatar Apr 14 '21 09:04 apchenstu

Thank you for responding so quickly! My running environment: torch==1.2.0 CUDA==10.0 GPU==GTX 1650Ti

seven-sent avatar Apr 14 '21 09:04 seven-sent

Thank you for responding so quickly! My running environment: torch==1.2.0 CUDA==10.0 GPU==GTX 1650Ti

so weird and sorry I couldn't figure out the problem.

apchenstu avatar Apr 21 '21 11:04 apchenstu