Hi Matt
When mert-moses.pl runs kbmira, it always supplies a list of the dense
features (and their initial values) using the --dense-init parameter. I
think this is your problem. I've attached a typical file used for this
feature list.
Of course, kbmira should have a sensible message rather than a segfault.
This is probably my doing,
cheers - Barry
On 26/02/15 22:18, Matt Post wrote:
kbmira segfaults on the following command:
kbmira run --ffile run1.features.dat --scfile run1.scores.dat -o mert.out
Where run1.features.dat (30 MB) and run1.scores.dat (14 MB) can be
downloaded here:
https://www.dropbox.com/s/yim7ub1bmq5jv2g/run1.features.dat?dl=0
https://www.dropbox.com/s/kkek36o7aflgzuu/run1.scores.dat?dl=0
I tracked it down to this line of mert/FeatureStats.cpp.
std::string SparseVector::decode(std::size_t id)
{
return m_id_to_name[id];
}
Any obvious ideas before I go down this rabbit hole? I verified there
are no blank lines or anything else funny with the formatting, at
least as far as I can tell (all dense features, plus one sparse
feature, OOVPenalty=-100, showing up occasionally).
matt
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
LexicalReordering0= 0.300000
OpSequenceModel0= 0.080000
OpSequenceModel0= -0.020000
OpSequenceModel0= 0.020000
OpSequenceModel0= -0.001000
OpSequenceModel0= 0.030000
Distortion0= 0.300000
LM0= 0.500000
WordPenalty0= -1.000000
PhrasePenalty0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
TranslationModel0= 0.200000
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support