運行stylegan-v2報錯:html
error: #error "C++ versions less than C++11 are not supported.c++
解決方法:less
打開 dnnlib/tflib/custom_ops.py的 修改第64行:spa
將 cmd = 'nvcc ' + opts.strip().net
改成:cmd = 'nvcc --std=c++11 -DNDEBUG ' + opts.strip() c++11