Pretrained-Show-and-Tell-model icon indicating copy to clipboard operation
Pretrained-Show-and-Tell-model copied to clipboard

NotFoundError

Open kashyap32 opened this issue 7 years ago • 1 comments

Hey, First of all thank you for providing checkpoint file for im2text.

while I run the final code :- bazel-bin/im2txt/run_inference --checkpoint_path=${CHECKPOINT_PATH} --vocab_file="word_counts.txt" --input_files=${IMAGE_FILE}

I am getting this error

NotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model.ckpt-2000000 [[Node: save/RestoreV2_225 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_225/tensor_names, save/RestoreV2_225/shape_and_slices)]]

kashyap32 avatar Oct 06 '17 11:10 kashyap32

Hi, looks like you don't have real files in your ${CHECKPOINT_PATH}

I have the same message when I put something inexistent in there, for example:

./bazel-bin/im2txt/run_inference --checkpoint_path=something_missing --vocab_file=model/word_counts.txt --input_files=FqHpuHL6QEk.jpg

parsifal-47 avatar Oct 08 '17 20:10 parsifal-47