harskish / ganspace

Discovering Interpretable GAN Controls [NeurIPS 2020]
Apache License 2.0
1.78k stars 264 forks source link

cuDNN error: CUDNN_STATUS_MAPPING_ERROR #23

Open ghost opened 3 years ago

ghost commented 3 years ago

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 commented 3 years ago

Close as duplicated. #17

ghost commented 3 years ago

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 commented 3 years ago

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

ykk648 commented 3 years ago

Finally, I gave up ganspace and choose SeFa.

romesa-khan commented 2 years ago

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

ykk648 commented 2 years ago

@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.