Hi,
when I'm translating with moses_chart, I get the next error:
"std::bad_alloc". I have 12GB of RAM, so I think it is not problems of RAM.
I'm also using Ken-LM.
Am I losing something?
$ $MOSES_CHART -config it-en/evaluation/filtered.dev/moses.ini < data/low/
dev.it 1> it-en/evaluation/dev.out 2> it-en/evaluation/dev.err
Defined parameters (per moses.ini or
switch):
config:
it-en/evaluation/filtered.dev/moses.ini
cube-pruning-pop-limit:
1000
glue-rule-type:
0
input-factors:
0
inputtype:
3
lmodel-file: 8 0 5 /home/alex/exp/moses_hierachical/lm/train.en.arpa
mapping: 0 T 0 1 T
1
max-chart-span: 20
1000
non-terminals:
X
search-algorithm:
3
ttable-file: 6 0 0 5
/home/alex/exp/moses_hierachical/it-en/evaluation/filtered.dev/phrase-table.0-0.1.1
6 0 0 1 /home/alex/exp/moses_hierachical/it-en/model/glue-grammar
ttable-limit: 20
weight-l: 0.142857
weight-t: 0.0571429 0.0571429 0.0571429 0.0571429 0.0571429 0.285714
weight-w: -0.285714
Loading lexical distortion models...have 0 models
Start loading LanguageModel
/home/alex/exp/moses_hierachical/lm/train.en.arpa : [0.000] seconds
Loading the LM will be faster if you build a binary file.
Reading /home/alex/exp/moses_hierachical/lm/train.en.arpa
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
Finished loading LanguageModels : [4.000] seconds
Using uniform ttable-limit of 20 for all translation tables.
Start loading PhraseTable
/home/alex/exp/moses_hierachical/it-en/evaluation/filtered.dev/phrase-table.0-0.1.1
: [4.000] seconds
filePath:
/home/alex/exp/moses_hierachical/it-en/evaluation/filtered.dev/phrase-table.0-0.1.1
Start loading PhraseTable
/home/alex/exp/moses_hierachical/it-en/model/glue-grammar : [4.000] seconds
filePath: /home/alex/exp/moses_hierachical/it-en/model/glue-grammar
Finished loading phrase tables : [4.000] seconds
Start loading phrase table from
/home/alex/exp/moses_hierachical/it-en/evaluation/filtered.dev/phrase-table.0-0.1.1
: [4.000] seconds
Start loading new format pt model : [4.000] seconds
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
--
Thanks,
Alexandre Helle
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support