KranthiGV / Pretrained-Show-and-Tell-model

This repository contains pretrained Show and Tell: A Neural Image Caption Generator implemented in Tensorflow.
MIT License
198 stars 45 forks source link

NotFoundError #15

Open kashyap32 opened 7 years ago

kashyap32 commented 7 years ago

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)]]

parsifal-47 commented 7 years ago

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