小编hhh*_*hhh的帖子

tensorflow 错误此文件需要编译器和库支持 ISO C++ 2011 标准

结果如下?我运行项目stylegan2,但它失败了。所以我需要帮助。链接是https://github.com/NVlabs/stylegan2

File "/home/ubuntu/workspaces/workspace_lsh/stylegan2/dnnlib/tflib/network.py",    line 154, in _init_graph    out_expr = self._build_func(*self.input_templates, **build_kwargs)   
File "<string>", line 491, in G_synthesis_stylegan2   File "<string>", line 455, in layer   
File "<string>", line 99, in    modulated_conv2d_layer   File "<string>", line 68, in apply_bias_act     
File    "/home/ubuntu/workspaces/workspace_lsh/stylegan2/dnnlib/tflib/ops/fused_bias_act.py",    line 68, in fused_bias_act    return impl_dict[impl](x=x, b=b, axis=axis, act=act, alpha=alpha, gain=gain)   
File    "/home/ubuntu/workspaces/workspace_lsh/stylegan2/dnnlib/tflib/ops/fused_bias_act.py",    line 122, in _fused_bias_act_cuda    cuda_kernel = _get_plugin().fused_bias_act   
File "/home/ubuntu/workspaces/workspace_lsh/stylegan2/dnnlib/tflib/ops/fused_bias_act.py",    line 16, in _get_plugin    return custom_ops.get_plugin(os.path.splitext(__file__)[0] + '.cu')   
File    "/home/ubuntu/workspaces/workspace_lsh/stylegan2/dnnlib/tflib/custom_ops.py",    line 111, in get_plugin    _run_cmd(_prepare_nvcc_cli('"%s" --preprocess -o "%s" --keep --keep-dir …
Run Code Online (Sandbox Code Playgroud)

c++ gpu nvcc tensorflow

5
推荐指数
1
解决办法
4463
查看次数

标签 统计

c++ ×1

gpu ×1

nvcc ×1

tensorflow ×1