StyleGAN2 Not Working on CentOS?

Thanks you both! changing the 0 to 1 on line 127 of custom_ops was exactly what I needed!
For the next one who reads this, here is what you need to change:
In file stylegan2/dnnlib/tflib/custom_ops.py, line 127:
change from
compile_opts += ’ --compiler-options \‘-fPIC -D_GLIBCXX_USE_CXX11_ABI=0\’’
to
compile_opts += ’ --compiler-options \‘-fPIC -D_GLIBCXX_USE_CXX11_ABI=1\’’

1 Like