What is the exact command you're executing? Can u please send me the debug messages that Moses output On 8 Jun 2015 19:54, "Bc. Robert ADAMEC" <[email protected]> wrote:
> Hello, > > I made the compact versions of the phrase tables and reordering models, > the language models were already binarised. However it did not help, the > tool still "freezes" on the same spot and stays there. > > I have let it run for almost 24 hours and it moved nowhere. I really do > not think that it would change with time, the experiments that I used > earlier run about 24 hours total, for this experiment I added factored > corpus for both sides, previously it was only for the source language, and > I do not think that it should impact the performance so heavily. > > I have tried to put some debug messages into moses itself, namely into the > DecodeStepGeneration class around the lines 149 - 170 (the for (size_t > currIter = 0 ; currIter < numIteration ; currIter++) cycle) and I found out > that the tool freezes because it gets stuck in this cycle forever after a > while (for the hypothesis that you can see as last in the log from the > previous e-mail) and never leaves it. > > I do not know what is the reason and cannot find it out. > > Any ideas? > > Best regards, > > Robert Adamec > > > > Úterý, 2 Červen, 2015 14:05 CEST, Hieu Hoang <[email protected]> > napsal: > > > please subscribe to the mailing list before posting to it. You can > > subscribe here: > > http://mailman.mit.edu/mailman/listinfo/moses-support > > > > To answer your question - how do you know it is in an inifinite loop, > > rather than just taking a very long time? From the moses.ini file, it > > seems the phrase tables are not binarized. This will cause loading to > > take a very long time and use a lot of memory. You should binarize your > > phrase-table, reordering model and LM. > > > > Also, if you are new to moses, please work through the tutorial here to > > get a better understanding of what moses is doing > > http://www.statmt.org/moses/?n=Moses.Baseline > > > > > > On 29/05/2015 14:35, Bc. Robert ADAMEC wrote: > > > Hello, > > > > > > I have encountered some trouble while working with Moses 3.0 > optimization. > > > > > > When I use the configuration which you can see in the attached > moses.ini the Moses tool runs infinitely long in the run 1 and is stuck on > the Loading table into memory line. Do you know what could be the problem? > For the "-v 100" log see the atached log.txt > > > > > > When I tweak some of the config options in the moses.ini file I get > segfault, for example if I change the GenerationModel from current 1 -> 0 > to 0,1 -> 0. > > > > > > The source corpus has the "word|factor" format for both used languages > so there should be no problems, the factor is an int number. > > > > > > Can you imagine any reason why it could be behaving this way and what > could have gone wrong? > > > > > > I launch the optimization via this command: > > > > > > /opt/moses-3.0/scripts/training/mert-moses.pl > /root/faktor_6/corpus/heldout.src /root/faktor_6/corpus/heldout.ref \ > > > /opt/moses-3.0/bin/moses /root/faktor_6/experiment/model/moses.ini > \ > > > --working-dir /root/faktor_6/tmp \ > > > --decoder-flags "-threads 6 -v 0" \ > > > --rootdir /opt/moses-3.0/scripts -mertdir /opt/moses-3.0/bin \ > > > --maximum-iterations 10 > > > > > > Best regards, > > > > > > Robert Adamec > > > > -- > > Hieu Hoang > > Researcher > > New York University, Abu Dhabi > > http://www.hoang.co.uk/hieu > > > > > > > > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
