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

前端 未结 11 1294
长情又很酷
长情又很酷 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条回答
  •  萌比男神i
    2020-12-30 00:09

    As @Mimii and @Celio mentioned: change ~/scripts/label_image.py, at the line input_layer = "input" to input_layer = "Mul" AND change the input dimensions: input_height = 299 and input_width= 299

提交回复
热议问题