Hi, I face a problem with hiero training. (My moses 1.0 was downloaded on Feb 1 2013) My step 5 did not successfully generate "extract.o.sorted.gz", which step 7 would need to use, and cause an exit.
I have no problem with phrase-based model using the same training dataset. It's step 5 successfully generate "extract.o.sorted.gz" Would anybody help me know what the problem is? Thanks, Wilson I list my hiero's command and log as well as phrase-based model's in the following: ------------------------------------------------------------------------------------------------ hiero command: nohup nice .../train-model.perl -cores 8 -root-dir train -hierarchical -glue-grammar -max-phrase-length 5 -corpus .../training -f cn -e en -alignment .../grow-diag-final-and -reordering msd-bidirectional-fe -lm 0:3:.../training-3gram.binary.lm:0 -external-bin-dir .../mosesdecoder/tools >& training.out & hiero log: step (5) ... merging extract / extract.inv zcat .../tmp.32558/extract.00000.gz .../extract.00001.gz ... .../extract.sorted.gz zcat .../tmp.32558/extract.00000.inv.gz .../tmp.32558/extract.00001.inv.gz ... .../extract.inv.sorted.gz rm -rf .../tmp.32558 ... step (7) learn reordering model @ Sun Feb 17 20:03:14 EST 2013 (7.1) [no factors] learn reordering model @ Sun Feb 17 20:03:14 EST 2013 (7.2) building tables @ Sun Feb 17 20:03:14 EST 2013 Executing: ...mosesdecoder/scripts/../bin/lexical-reordering-score .../model/extract.o.sorted.gz 0.5 // .../model/reordering-table. --model "wbe msd wbe-msd-bidirectional-fe" Lexical Reordering Scorer scores lexical reordering models of several types (hierarchical, phrase-based and word-based-extraction terminate called after throwing an instance of 'util::ErrnoException' what(): util/file.cc:63 in int util::OpenReadOrThrow(const char*) threw ErrnoException because `-1 == (ret = open(name, 00))'. No such file or directory while opening .../model/extract.o.sorted.gz Aborted Exit code: 134 ERROR: Lexical reordering scoring failed at .../train-model.perl line 1710. ------------------------------------------------------------------------------------------------ phrase-based model command: nohup nice .../train-model.perl -cores 8 -root-dir train -corpus .../training -f cn -e en // -alignment .../grow-diag-final-and -reordering msd-bidirectional-fe -lm 0:3:.../training-3gram.binary.lm:0 // -external-bin-dir .../mosesdecoder/tools >& training.out & phrase-based model log: (5) ... merging extract / extract.inv zcat .../tmp.9906/extract.00000.gz .../tmp.9906/extract.00001.gz ... .../extract.sorted.gz zcat .../tmp.9906/extract.00000.inv.gz .../tmp.9906/extract.00001.inv.gz ... .../extract.inv.sorted.gz zcat .../tmp.9906/extract.00000.o.gz .../tmp.9906/extract.00001.o.gz ... .../extract.o.sorted.gz rm -rf .../tmp.9906 ------------------------------------------------------------------------------------------------
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
