Dear Chris
I have included the stack trace as a file.
Thanks in advance,
Manh Hung
2009-04-16 (木) の 11:34 -0400 に Chris Dyer さんは書きました:
> Can you send me a stack trace for where the SEGV is happening? Once
> the phrase table has been binarized, there's no need to have any
> special temporary space.
>
> On Tue, Apr 28, 2009 at 10:46 AM, Nguyen Manh Hung
> <[email protected]> wrote:
> > Chris Dyer さんは書きました:
> >>
> >> You need to add a -weight-i flag to the command line which specifies
> >> how much weighting to apply to the arc feature.
> >>
> >> e.g.:
> >>
> >> moses ... -weight-i 0.5
> >>
> >> -Chris
> >>
> >> On Thu, Apr 16, 2009 at 9:58 AM, Nguyen Manh Hung
> >> <[email protected]> wrote:
> >>
> >>>
> >>> Hi,
> >>>
> >>> I'm using Moese to decode with lattices format as input. Also I make
> >>> lattices file content by hand. When I run moses with follow command
> >>> MOSES_HOME/moses-cmd/src/moses -f config_file.ini -inputtype 2
> >>> -input-file input.txt > out.put
> >>> These error has come
> >>> ----------------------------------
> >>> Creating lexical reordering...
> >>> weights: 0.300 0.300 0.300 0.300 0.300 0.300
> >>> Loading table into memory...done.
> >>> Created lexical orientation reordering
> >>> Start loading
> >>> LanguageModel /home/manhhung/smt/confusion/data/lm/lm_news_jan.srilm :
> >>> [112.000] seconds
> >>> Finished loading LanguageModels : [114.000] seconds
> >>> ERROR:You specified 0 input weights (weight-i), but you specified 1 link
> >>> parameters (link-param-count)!
> >>> -------------------------
> >>>
> >>> Could you please explain these errors for me
> >>> Thanks,
> >>> Manh Hung
> >>>
> >>>
> >>> _______________________________________________
> >>> Moses-support mailing list
> >>> [email protected]
> >>> http://mailman.mit.edu/mailman/listinfo/moses-support
> >>>
> >>>
> >>
> >>
> >>
> >
> > @Chris: Ohh, it's running OK now, thanks you very much,
> > But... has come another error message. Segementation fault.
> > I have got this error message when I made binary file type of phrasetable.
> > Its seem that the size of /tmp is a small. So I added -T
> > options(--temporary-directory) to resolve them.
> > But in the options of moses command, I dont found any such option. How do
> > you thinks about this error.
> > Thanks in advance,
> > Manh Hung
> >
>
manhh...@fornax:~/smt/confusion/eval$
/home/manhhung/smt/tools/moses/moses-cmd/src/moses -f ../tm/model/moses.ini
-weight-i 1.0 -inputtype 2 -input-file ../data/lattices/lattice60.en > test60.ja
Defined parameters (per moses.ini or switch):
config: ../tm/model/moses.ini
distortion-file: 0-0 msd-bidirectional-fe 6
/home/manhhung/smt/confusion/tm/model/reordering-table.gz
distortion-limit: -1
input-factors: 0
input-file: ../data/lattices/lattice60.en
inputtype: 2
lmodel-file: 0 0 5
/home/manhhung/smt/confusion/data/lm/lm_news_jan.srilm
mapping: 0 T 0
ttable-file: 0 0 5 /home/manhhung/smt/confusion/tm/model/phrase-table
ttable-limit: 10
weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
weight-i: 1.0
weight-l: 0.5000
weight-t: 0.2 0.2 0.2 0.2 0.2
weight-w: -1
Loading lexical distortion models...
have 1 models
Creating lexical reordering...
weights: 0.300 0.300 0.300 0.300 0.300 0.300
Loading table into memory...done.
Created lexical orientation reordering
Start loading LanguageModel
/home/manhhung/smt/confusion/data/lm/lm_news_jan.srilm : [111.000] seconds
Finished loading LanguageModels : [113.000] seconds
specified equal numbers of link parameters and insertion weights, not using
non-epsilon 'real' word link count.
Start loading PhraseTable /home/manhhung/smt/confusion/tm/model/phrase-table :
[113.000] seconds
filePath: /home/manhhung/smt/confusion/tm/model/phrase-table
using binary phrase tables for idx 0
reading bin ttable
size of OFF_T 8
binary phrasefile loaded, default OFF_T: -1
Finished loading phrase tables : [113.000] seconds
Created input-output object : [113.000] seconds
Translating: word lattice: 87
0 -- (continent , -2.485, 4) (tear , -2.485, 4) (subah , -2.485, 4) (european ,
-2.773, 6) (occident , -2.773, 6) (bitnet , -2.773, 6) (occidentality , -2.773,
6) (mountain , -1.386, 1) (to , -1.386, 2)
1 -- (district , 0.000, 3)
2 -- (huddle , 0.000, 1)
3 -- (together , 0.000, 1)
4 -- (dockyard , -2.079, 2) (shipyard , -2.079, 2) (perhaps , -2.079, 2) (just
, -2.079, 2) (small , -0.693, 1)
5 -- (crock , 0.000, 1)
6 -- (very , -1.792, 1) (actual , -1.792, 1) (practicably , -1.792, 1) (real ,
-1.792, 1) (truthfully , -1.792, 1) (matter , -1.792, 1)
7 -- (poetry , -1.386, 6) (quizzes , -1.386, 6) (to , -0.693, 1)
8 -- (compete , -0.693, 5) (race , -0.693, 1)
9 -- (to , 0.000, 1)
10 -- (take , 0.000, 1)
11 -- (an , 0.000, 1)
12 -- (examination , 0.000, 1)
13 -- (smartly , -1.792, 1) (weightily , -1.792, 1) (intense , -1.792, 1)
(vigorously , -1.386, 2) (vividly , -1.386, 2)
14 -- (m���鐃� , 0.000, 1)
15 -- (offer , -2.079, 4) (ascend , -2.079, 4) (develop , -2.996, 5)
(developmental , -2.996, 5) (evolve , -2.996, 5) (jog , -2.996, 5) (progress ,
-2.996, 5) (go , -1.386, 1) (to , -1.386, 2)
16 -- (about , 0.000, 4)
17 -- (advance , -0.693, 2) (march , -0.693, 1)
18 -- (forward , 0.000, 1)
19 -- (tri�����n , 0.000, 1)
20 -- (property , -3.178, 5) (belongings , -3.178, 5) (of , -3.178, 5) (from ,
-3.178, 5) (appertain , -3.178, 5) (effect , -3.178, 5) (oof , -3.178, 5) (pelf
, -3.178, 5) (given , -1.099, 1) (belong , -1.099, 2)
21 -- (kind , 0.000, 2)
22 -- (to , 0.000, 3)
23 -- (of , 0.000, 1)
24 -- (food , 0.000, 1)
25 -- (shiny , -1.792, 1) (brightness , -1.792, 1) (a.m , -1.792, 1)
(innovation , -2.303, 5) (initiative , -2.303, 5) (contrivance , -2.303, 5)
(invention , -2.303, 5) (innovations , -2.303, 5)
26 -- (ant , -2.079, 4) (thought , -2.079, 4) (con , -1.386, 1) (was , -1.386,
2) (were , -1.386, 3)
27 -- (ki���鐃�n , 0.000, 3)
28 -- (thought , 0.000, 3)
29 -- (thought , 0.000, 3)
30 -- (to , -3.401, 3) (took , -3.401, 3) (was , -3.401, 3) (were , -3.401, 3)
(yes , -3.401, 3) (yeses , -3.401, 3) (jake , -3.401, 3) (o.k , -3.401, 3)
(roger , -3.401, 3) (get , -3.401, 3) (to , -1.099, 4) (to , -1.099, 5)
31 -- (to , 0.000, 5)
32 -- (to , 0.000, 4)
33 -- (to , 0.000, 3)
34 -- (agree , 0.000, 3)
35 -- (come , 0.000, 3)
36 -- (agree , -1.386, 11) (come , -1.386, 5) (be , -1.386, 3) (be , -1.386, 4)
37 -- (to , 0.000, 10)
38 -- (to , 0.000, 3)
39 -- (sateated , 0.000, 3)
40 -- (satisfied , 0.000, 2)
41 -- (to , 0.000, 2)
42 -- (favorable , -2.303, 5) (prosperous , -2.303, 5) (will , -2.303, 5)
(forward , -2.303, 5) (compliance , -2.303, 5) (favourable , -0.693, 2)
43 -- (terms , 0.000, 4)
44 -- (apt , 0.000, 1)
45 -- (with , 0.000, 1)
46 -- (agreeable , 0.000, 1)
47 -- (in , -1.099, 1) (thro , -1.099, 1) (through , -1.099, 1)
48 -- (edinburgh , 0.000, 1)
49 -- (, , -1.609, 1) (and , -1.609, 2) (and , -1.609, 3) (and , -1.609, 4)
(and , -1.609, 5)
50 -- (and , -1.609, 5) (to , -1.609, 6) (to , -1.609, 7) (and , -1.609, 8)
(get , -1.609, 9)
51 -- (to , 0.000, 9)
52 -- (took , 0.000, 8)
53 -- (was , 0.000, 7)
54 -- (were , 0.000, 6)
55 -- (to , -3.912, 5) (took , -3.912, 5) (was , -3.912, 5) (were , -3.912, 5)
(yes , -3.912, 5) (yeses , -3.912, 5) (jake , -3.912, 5) (o.k , -3.912, 5)
(roger , -3.912, 5) (get , -3.912, 5) (was , -1.609, 6) (were , -1.609, 7) (was
, -1.609, 8) (were , -1.609, 9)
56 -- (establish , 0.000, 9)
57 -- (strengthen , 0.000, 9)
58 -- (to , 0.000, 9)
59 -- (to , 0.000, 9)
60 -- (confirm , -2.890, 24) (establish , -2.890, 24) (fortify , -2.890, 24)
(secure , -2.890, 24) (solidify , -2.890, 24) (stiffen , -2.890, 24)
(strengthen , -2.890, 24) (strengthening , -2.890, 24) (undergird , -2.890, 24)
(to , -0.693, 13)
61 -- (to , 0.000, 8)
62 -- (to , 0.000, 8)
63 -- (to , 0.000, 8)
64 -- (to , 0.000, 8)
65 -- (and , 0.000, 19)
66 -- (and , 0.000, 18)
67 -- (get , 0.000, 6)
68 -- (and , 0.000, 5)
69 -- (confirm , 0.000, 16)
70 -- (confirm , 0.000, 15)
71 -- (confirm , 0.000, 14)
72 -- (confirm , 0.000, 13)
73 -- (consolidate , -1.386, 11) (reinforce , -1.386, 11) (clout , -0.693, 1)
74 -- (on , 0.000, 1)
75 -- (the , 0.000, 1)
76 -- (forehead , 0.000, 1)
77 -- (great , -0.693, 1) (to , -0.693, 2)
78 -- (grandfather , 0.000, 2)
79 -- (mortage , -1.792, 5) (try , -1.792, 5) (endeavour , -1.792, 5) (secure ,
-0.693, 2)
80 -- (or , 0.000, 2)
81 -- (by , 0.000, 2)
82 -- (mother , 0.000, 2)
83 -- (mortgage , 0.000, 1)
84 -- (of , -2.197, 1) (populate , -2.197, 1) (situated , -2.197, 1) (stable ,
-2.197, 1) (tenant , -2.197, 1) (to , -2.197, 1) (was , -2.197, 1) (were ,
-2.197, 1) (with , -2.197, 1)
85 -- (copenhagen , 0.000, 1)
86 -- (. , 0.000, 1)
Segmentation fault_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support