tensorflow for poets: “The name 'import/input' refers to an Operation not in the graph.”

前端 未结 11 1228
长情又很酷
长情又很酷 2020-12-29 23:17

I was following the codelabs tensorflow for poets and the training worked fine but when I runned the script to evaluate a image:

python -m scripts.label_imag         


        
11条回答
  •  有刺的猬
    2020-12-30 00:07

    I changed ~/scripts/label_image.py line 77 and it works:

    from

    input_layer = "input"
    

    to

    input_layer = "Mul"
    

提交回复
热议问题