Hi Rasul,

I experienced exactly the same issue two or four weeks ago: My tuning set
contained an odd number of lines, e.g. the target side included 2000 lines
and the source side 2003 lines. Subsequently, I removed the remaining lines
on the source side and the issue was gone. If I remember correctly, I also
filtered the tuning set using --filtercmd. Hope this helps!

Best,
Daniel

-----Ursprüngliche Nachricht-----
Von: moses-support-boun...@mit.edu [mailto:moses-support-boun...@mit.edu] Im
Auftrag von ra...@rszk.net
Gesendet: Montag, 23. Januar 2012 00:57
An: moses-support@mit.edu
Betreff: [Moses-support] Segmentation fault in tuning with chart decoder

Hi all,

I have trained a hierarchical model and trying to tune it using mert.  
I'm getting this segmentation fault error in the early stages.  
Following is the log and the command I'm using. Your idea is much
appreciated.

Best Wishes,
Rasul.

--------------------------------------------------- Log
Executing: /tools/moses/moses-chart-cmd/src/moses_chart -v 0 -config
filtered/moses.ini  -inputtype 0 -show-weights > ./features.list In
LanguageModelIRST::Load: nGramOrder = 5 Language Model Type of
/en-fr/lm/irstlmse.5grams.lm.fr is 1 \data\
loadtxt_ram()
1-grams: reading 176493 entries
done level1
2-grams: reading 1332577 entries
done level2
3-grams: reading 1402000 entries
done level3
4-grams: reading 1836276 entries
done level4
5-grams: reading 1830829 entries
done level5
done
OOV code is 176492
OOV code is 176492
sh: line 1:  7057 Segmentation fault       
/tools/moses/moses-chart-cmd/src/moses_chart -v 0 -config filtered/moses.ini
-inputtype 0 -show-weights > ./features.list Exit code: 139 Failed to run
moses with the config filtered/moses.ini at
/tools/moses/scripts/training/mert-moses.pl line 1072.
r

--------------------------------------------------- Command nohup nice
$SCRIPTS_ROOTDIR/training/mert-moses.pl
$EXP_ENFR/common/corpus/dev.tok.lower.en
$EXP_ENFR/corpus/dev.tok.lower.fr
$MOSES_ROOTDIR/moses-chart-cmd/src/moses_chart
$EXP_ENFR/model/moses.ini
--working-dir $EXP_ENFR/tuning/mert
--mertdir $MOSES_ROOTDIR/mert
--rootdir $SCRIPTS_ROOTDIR
--decoder-flags "-v 0"
> $EXP_ENFR/tuning/mert.log

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to