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

cuDNN error: CUDNN_STATUS_MAPPING_ERROR #23

Open
ghost opened this issue Nov 25, 2020 · 6 comments
Open

cuDNN error: CUDNN_STATUS_MAPPING_ERROR #23

ghost opened this issue Nov 25, 2020 · 6 comments

Comments

@ghost
Copy link

ghost commented Nov 25, 2020

I encountered the following error when trying interactive.py with a conda installation following the readme.

"...\models\stylegan2\stylegan2-pytorch\model.py", line 273, in forward
    out = F.conv2d(input, weight, padding=self.padding, groups=batch)
RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
@ghost ghost changed the title compute latent_avg from generator cuDNN error: CUDNN_STATUS_MAPPING_ERROR Nov 25, 2020
@ghost
Copy link
Author

ghost commented Nov 25, 2020

Close as duplicated. #17

@ghost ghost closed this as completed Nov 25, 2020
@ghost ghost reopened this Nov 25, 2020
@ghost
Copy link
Author

ghost commented Dec 3, 2020

Funny thing is that the error disappear when str(weight) is added before line 273 in "...\models\stylegan2\stylegan2-pytorch\model.py".
I think it's a bug of pytorch.

@ykk648
Copy link

ykk648 commented May 10, 2021

hi there, I wonder know how u solved this problem, what's the meaning of "str(weight) is added before line 273"

@ykk648
Copy link

ykk648 commented May 11, 2021

Finally, I gave up ganspace and choose SeFa.

@romesa-khan
Copy link

@ykk648 did you also upgrade the PyTorch version by any chance, before getting the error above?

@ykk648
Copy link

ykk648 commented Apr 28, 2022

@romesa-khan sorry I forgot the problem during that circumstance, it may caused by some dependcy version issue, if you have more enviroments you can test it, but i suggest that don't waste a lot time to solve a bug left over from history.

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