Use absolute paths, not relative paths

Hieu Hoang
Sent while bumping into things

On 1 Nov 2017 9:26 a.m., "Yanyang Li" <[email protected]> wrote:

> Hi,
>   I also try to remove the 'mert-work' and rerun the same command again,
> the error became:
>
> Using SCRIPTS_ROOTDIR: /media/3T/liyanyang/mosesdecoder/scripts
> filtering the phrase tables...
> exec: /media/3T/liyanyang/mosesdecoder/scripts/training/
> filter-model-given-input.pl ./filtered 
> /media/3T/liyanyang/working/train/model/moses.ini
> /media/3T/liyanyang/corpus/news-test2008.true.fr
> Executing: /media/3T/liyanyang/mosesdecoder/scripts/training/
> filter-model-given-input.pl ./filtered 
> /media/3T/liyanyang/working/train/model/moses.ini
> /media/3T/liyanyang/corpus/news-test2008.true.fr > filterphrases.out 2>
> filterphrases.err
> Exit code: 255
> ERROR: Failed to run '/media/3T/liyanyang/mosesdecoder/scripts/training/
> filter-model-given-input.pl ./filtered 
> /media/3T/liyanyang/working/train/model/moses.ini
> /media/3T/liyanyang/corpus/news-test2008.true.fr'. at /media/3T/liyanyang/
> mosesdecoder/scripts/training/mert-moses.pl line 1775.
>
>   If I immediately rerun the command used before without removing
> 'mert-work', the 'can't read' problem will occur.
>
>   I am very confusing and hope someone can help me figure out what's wrong
> within it.
>
>   Thank you!
>
> Bese regards,
> Yanyang Li
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to