Hi Barry, Thanks for your prompt response.
When I grep for the undescore in run2.features.dat, I get lines like this one: FEATURES_TXT_BEGIN_0 0 100 8 d_0 lm_0 w_0 tm_0 tm_1 tm_2 tm_3 tm_4 FEATURES_TXT_END_0 You can find attached the beginning of run2.features.dat, with the features of the first sentence. Thank you very much, Antonio 2012/1/11 Barry Haddow <[email protected]>: > Hi Antonio > > Looks like mert thinks you've got sparse features in your run2.features.dat > file. > > Could you grep for the underscore ("_") character in this file? If that > doesn't > turn up anything then maybe you could let me look at your features file? If > it's too big to post to the list then send it to me off-line, > > cheers - Barry > > On Wednesday 11 January 2012 17:26:39 Antonio Lagarda wrote: >> Hi all, >> >> I am using the last version of Moses (subversion). Everything seems to >> go fine, until the Mert step. The first Mert iteration runs ok, but >> when finishing the second iteration, I get this error: >> >> Exit code: 1 >> ERROR: Failed to run '/usr/bin/mert -d 8 --scconfig case:true >> --ffile run1.features.dat,run2.features.dat --scfile >> run1.scores.dat,run2.scores.dat --ifile run2.init.opt -n 20'. at >> /usr/lib/moses/bin/training/mert-moses.pl line 1278. >> >> When running only that instruction (mert -d 8 ...), the error is as >> follows: >> >> ERROR: sparse features can only be trained with pairwise ranked >> optimizer (PRO), not traditional MERT >> >> All the files needed by Mert at this point do exist and seem to be ok >> (run1.features.dat, run2.features.dat, run1.scores.dat, >> run2.scores.dat, run2.init.opt) >> >> Has anyone found this problem? >> Do you know which Git commit (if any) solves it? >> >> Thank you in advance. >> Best, >> Antonio >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> > > -- > Barry Haddow > University of Edinburgh > +44 (0) 131 651 3173 > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. >
run2.features_head.dat
Description: Binary data
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
