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
You have to make some changes in label_image.py in the scripts folder
input_height = 299 Change input_height to 299 from 224
input_width = 299 Change input_width to 299 from 224
input_mean = 128
input_std = 128
input_layer = "Mul" Change input_layer to Mul from input
output_layer = "final_result"
Output:
Evaluation time (1-image): 1.901s
daisy (score=0.98584)
sunflowers (score=0.01136)
dandelion (score=0.00210)
tulips (score=0.00066)
roses (score=0.00004)
For more info, refer this page