keras-image-captioning icon indicating copy to clipboard operation
keras-image-captioning copied to clipboard

error raise child_exception

Open lilei132 opened this issue 6 years ago • 0 comments

我运行python -m keras_image_captioning.inference
--dataset-type test
--method beam_search
--beam-size 3
--training-dir results/flickr8k/final-model

得到 File "/home/ll/imagecaption/keras-image-captioning/keras_image_captioning/inference.py", line 123, in init dataset_provider) File "/home/ll/imagecaption/keras-image-captioning/keras_image_captioning/inference.py", line 30, in init self._metrics = [BLEU(4), METEOR(), CIDEr(), ROUGE()] File "keras_image_captioning/metrics.py", line 55, in init implementation = meteor.Meteor() File "pycocoevalcap/meteor/meteor.py", line 24, in init stderr=subprocess.PIPE) File "/home/ll/.conda/envs/py27/lib/python2.7/subprocess.py", line 390, in init errread, errwrite) File "/home/ll/.conda/envs/py27/lib/python2.7/subprocess.py", line 1025, in _execute_child raise child_exception OSError: [Errno 2] 没有那个文件或目录

lilei132 avatar May 28 '18 13:05 lilei132