我一直在試圖編譯tensorflow 1.1以來對使用CUDA 8.0窗口10巴澤爾0.4.2。「Genrules不輸出沒有任何意義」 - 巴澤爾的Windows 10的構建
我一直沒能在網上找到相應的錯誤。
C:\Users\me\Anaconda3\envs\tensorflow_gpu\tensorflow>bazel build --config=opt tensorflow/examples/image_retraining:retrain
ERROR: C:/users/me/appdata/local/temp/_bazel_simon/qco1pmlq/external/local_config_cuda/cuda/BUILD:172:12: in outs attribute of genrule rule @local_config_cuda//cuda:cuda-include: Genrules without outputs don't make sense.
挖掘到錯誤消息中指定的構建文件後,我有這些genrules這是缺少輸入:
genrule(
name = "cuda-include",
outs = [
],
cmd = """
""",
)
genrule(
name = "cuda-nvvm",
outs = [
],
cmd = """
""",
)
genrule(
name = "cuda-extras",
outs = [
],
cmd = """
""",
)
我假定這些應該已經產生的?我確實有一個遵循該格式的其他規則的例子,但不確定哪些文件以及是否是正確的方式。任何幫助將不勝感激。