運行stylegan-v2報錯:
error: #error "C++ versions less than C++11 are not supported.
解決方法:
打開 dnnlib/tflib/custom_ops.py的 修改第64行:
將 cmd = 'nvcc ' + opts.strip()
改爲:cmd = 'nvcc --std=c++11 -DNDEBUG ' + opts.strip()
運行stylegan-v2報錯:
error: #error "C++ versions less than C++11 are not supported.
解決方法:
打開 dnnlib/tflib/custom_ops.py的 修改第64行:
將 cmd = 'nvcc ' + opts.strip()
改爲:cmd = 'nvcc --std=c++11 -DNDEBUG ' + opts.strip()
繼續運行 🥋 回憶上次內容 上上次 真寫了 萬行 代碼 這 萬行 代碼 都是寫在 明面 上的 這次 使用git命令 下載了 github上面的倉庫