NVlabs / stylegan2-ada

StyleGAN2 with adaptive discriminator augmentation (ADA) - Official TensorFlow implementation
https://arxiv.org/abs/2006.06676
Other
1.81k stars 499 forks source link

NVCC returned an error #55

Open PhamThinh31 opened 3 years ago

PhamThinh31 commented 3 years ago

Hi all, I try to get results of pretrained model by file generate.py But I got an error like this: image

all logs here

My setup: Ubuntu 18.04 Cuda 10.1 Anaconda 3 Python 3.7 Can someone help me?

christli7 commented 3 years ago

I solved a similar problem like yours by modifying visual studio (i must use visual studio 2017 and uninstall visual studio 2019, my cuda is 10.0, tensorflow 1.14):

check the individual components when modifying visual studio: Static analysis tools .NET Framework 4.6.1 SDK .NET Framework 4.6.1 targeting pack Visual Studio C++ core features VC++ 2017 version 15.9 v14.16 latest v141 tools Graphics Tools Windows 8.1 SDK Graphics debugger and GPU profiler for DirectX C++ profiling tools Windows 10 SDK (10.0.17763.0) Windows Universal CRT SDK C++/CLI support Visual C++ compilers and libraries for ARM64 C++ Universal Windows Platform tools for ARM64

not sure if all of those are needed I suggest you to try that