Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem in running facialDetails.py #43

Open
seven-sent opened this issue Nov 1, 2020 · 5 comments
Open

A problem in running facialDetails.py #43

seven-sent opened this issue Nov 1, 2020 · 5 comments

Comments

@seven-sent
Copy link

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?

@apchenstu
Copy link
Owner

sorry for replying late, did you resolve this issue?

@seven-sent
Copy link
Author

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?

@apchenstu
Copy link
Owner

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

@seven-sent
Copy link
Author

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

@apchenstu
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants