Hi, you are using a hierarchical model, so you should not use "-inputtype 0". The Input Type for hierarchical models is 3.
-phi On Tue, Apr 10, 2012 at 11:59 PM, Marion Weller <[email protected]> wrote: > > Hello, > > I have a problem to start the mert-script on a new installed version of moses > (following the instructions on > http://www.statmt.org/moses/?n=Development.GetStarted) > > I trained a small EN-DE model using target-side syntax. > When starting .../training/mert-moses.pl , I get the following error > message: > > Translating: <s> germany 's november inflation rate of 3.3 percent counts as a > record ; in spain the rate shot up to 4.1 percent from an earlier 3.6 . </s> > > terminate called after throwing an instance of 'std::bad_cast' > what(): std::bad_cast > sh: Zeile 1: 20129 Abgebrochen (Speicherabzug geschrieben) > /mount/arbeitsdaten9/projekte/morphosynt/wellermn/MOSES/mosesdecoder//moses-chart-cmd/src/moses_chart > -threads 8 -config /fs/scratch/users/wellermn/TEST//tuning/filtered/moses.ini > -inputtype 0 -w -0.285714 -lm 0.142857 -tm 0.057143 0.057143 0.057143 0.057143 > 0.057143 0.285714 -n-best-list run1.best100.out 100 -input-file > /fs/scratch/users/wellermn/TEST/tuning//input.txt > run1.out > Exit code: 134 > The decoder died. CONFIG WAS -w -0.285714 -lm 0.142857 -tm 0.057143 0.057143 > 0.057143 0.057143 0.057143 0.285714 > Exitcode 2 > > > I am not sure whether this helps, but the following command (without > -inputtype > 0) seems to work fine: > > .../moses_chart > -threads 8 > -config /fs/scratch/users/wellermn/TEST//tuning/filtered/moses.ini > -input-file tuning/input.txt > -w -0.285714 -lm 0.142857 -tm 0.057143 0.057143 0.057143 0.057143 0.057143 > 0.285714 > -n-best-list run1.best100.out 100 > > > Thanks a lot for your help, > Marion > > _______________________________________________ > 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
