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.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to