google / seq2seq

A general-purpose encoder-decoder framework for Tensorflow
https://google.github.io/seq2seq/
Apache License 2.0
5.6k stars 1.3k forks source link

Unable to fetch multi-bleu.perl script,using local #329

Open himanshudce opened 6 years ago

himanshudce commented 6 years ago

my seq2seq model working fine for training but not able to evaluate the model,why it is happening. when it starts evaluating it looks like -

INFO:tensorflow:Starting evaluation at 2018-06-22-08:44:07 INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. W tensorflow/core/framework/op_kernel.cc:993] Out of range: PaddingFIFOQueue '_31_dev_input_fn/batch_queue/padding_fifo_queue' is closed and has insufficient elements (requested 32, current size 0) [[Node: dev_input_fn/batch_queue = QueueDequeueUpToV2[component_types=[DT_INT32, DT_STRING, DT_INT32, DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](dev_input_fn/batch_queue/padding_fifo_queue, dev_input_fn/batch_queue/n)]] INFO:tensorflow:Unable to fetch multi-bleu.perl script, using local. INFO:tensorflow:Finished evaluation at 2018-06-22-08:45:10

yilinglou commented 4 years ago

How did you solve this and I have the same problem!

himanshudce commented 4 years ago

I took the output text and evaluated the sentences in my local machine using the file multi-bleu.perl (https://github.com/moses-smt/mosesdecoder/blob/master/scripts/generic/multi-bleu.perl) command line - perl multi-bleu.perl reference.txt < prediction.txt

HautGoduU commented 3 years ago

How did you solve this and I have the same problem! Hello, I have the same problem. Have you solved it?