首页 > 其他 > 详细

stylegan2报错解决

时间:2020-01-07 19:38:54      阅读:279      评论:0      收藏:0      [点我收藏+]

#error "C++ versions less than C++11 are not supported."

I encountered the same error. A nasty workaround was to add flags --std=c++11 and -DNDEBUG to the nvcc call in dnnlib/tflib/custom_ops.py ln 64:

cmd = ‘nvcc --std=c++11 -DNDEBUG ‘ + opts.strip()

https://mlog.club/article/2857895

 

“undefined symbol: _ZN10tensorflow12OpDefBuilder6OutputESs”

https://blog.csdn.net/zaf0516/article/details/103618601

打开custom_ops.py中127行--compiler-options \‘-fPIC -D_GLIBCXX_USE_CXX11_ABI=0,改为--compiler-options \‘-fPIC -D_GLIBCXX_USE_CXX11_ABI=1,即可如下图所示:

 

技术分享图片

 

stylegan2报错解决

原文:https://www.cnblogs.com/rainsoul/p/12162779.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!