Pretrained-Show-and-Tell-model
Pretrained-Show-and-Tell-model copied to clipboard
NotFoundError
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)]]
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