Re: [Moses-support] Couldn't use --working-dir of mert-moses.pl
The several arguments are positional arguments OR named arguments, which can be confusing. Full paths often solve problems. Also, not sure if the equal sign causes problems. So, try this: nohup nice mosesdecoder/scripts/training/mert-moses.pl \ --decoder-flags "-threads 8" \ --working-dir /home/fubin/moses/work/mert-work5 \ --input /data/fr-en2006/dev/dev2006.true.fr \ --refs /data/fr-en2006/dev/dev2006.true.en \ --decoder /mosesdecoder/bin/moses \ --config /work/train/model/moses.ini \ --mertdir /mosesdecoder/bin/ &> work/outfile/mertstart.out On 03/11/2015 10:38 AM, 付彬 wrote: > nohup nice mosesdecoder/scripts/training/mert-moses.pl > --decoder-flags="-threads 8" > --working-dir=/home/fubin/moses/work/mert-work5 > data/fr-en2006/dev/dev2006.true.fr data/fr-en2006/dev/dev2006.true.en > mosesdecoder/bin/moses work/train/model/moses.ini > --mertdir=mosesdecoder/bin/ &> work/outfile/mertstart.out ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support
[Moses-support] Couldn't use --working-dir of mert-moses.pl
Hi everyone: I try to use option of --working-dir in mert-moses.ini, but it always existed error after first tuning of mert, my error information are as follows: ERROR: Failed to run '/home/fubin/moses/work/mert-work5/extractor.sh'. at mosesdecoder/scripts/training/mert-moses.pl line 1600. 1) my instruction: nohup nice mosesdecoder/scripts/training/mert-moses.pl --decoder-flags="-threads 8" --working-dir=/home/fubin/moses/work/mert-work5 data/fr-en2006/dev/dev2006.true.fr data/fr-en2006/dev/dev2006.true.en mosesdecoder/bin/moses work/train/model/moses.ini --mertdir=mosesdecoder/bin/ &> work/outfile/mertstart.out --working-dir=/home/fubin/moses/work/mert-work5 is a file name and path that I named. 2) Those files existed in my mert-work5: extract.err extract.out filtered/ filterphrases.outrun1.dense run1.out extractor.sh features.listfilterphrases.err run1.best100.out.gz run1.moses.ini 3) When we run extractor.sh automatically, it couldn't found run1.scores.dat and run1.features.dat. Strangely these file would be produced when I didn't give explicitly. Who can help me solve this problem? Thank you ! Best regards Bingo___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support