Open NEUdeep opened 6 years ago
because it need at least a argument in eval_sentence_predictions.py, for parser.add_argument('checkpoint_path', type=str, help='the input checkpoint') , so checkpoint_path argument is to have to bring parameter in runing, meanwhile other arguments may not bring ,checkpoint_path is your checkpoint_path, such as cv/model_checkpoint_flickr8k_jhon-computer_baseline_17.29.p
Did u fix this problem? i meet this issue too.
because it need at least a argument in eval_sentence_predictions.py, for parser.add_argument('checkpoint_path', type=str, help='the input checkpoint') , so checkpoint_path argument is to have to bring parameter in runing, meanwhile other arguments may not bring ,checkpoint_path is your checkpoint_path, such as cv/model_checkpoint_flickr8k_jhon-computer_baseline_17.29.p
I changed checkpoint_path to "D:\neuraltalk\cv\model_checkpoint_flickr8k_DESKTOP-4PPS67A_baseline_17.27.p" but doesn't work. what can i do?
~/tf/neuraltalk-master$ python eval_sentence_predictions.py usage: eval_sentence_predictions.py [-h] [-b BEAM_SIZE] [--result_struct_filename RESULT_STRUCT_FILENAME] [-m MAX_IMAGES] [-d DUMP_FOLDER] checkpoint_path eval_sentence_predictions.py: error: too few arguments
when i run this script i got this error,is checkpoint path error or others?thank you.