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

前端 未结 11 1314
长情又很酷
长情又很酷 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:03

    Or you can run by command lines with the options without changing codes:

    python -m scripts.label_image2 --graph=tf_files/retrained_graph.pb -- 
    folder_images=../updated_images/testing -- 
    labels=tf_files/retrained_labels.txt --input_layer=Mul -- 
    input_height=299 --input_width=299
    

提交回复
热议问题