Failed to run kbmira

25 views
Skip to first unread message

James Johnson

unread,
Apr 1, 2015, 1:53:25 AM4/1/15
to joshua_...@googlegroups.com

In the tutorial http://joshua-decoder.org/5.0/tutorial.html At second run when i ran the joshua pipeline i encountered this error

Command :  $JOSHUA/bin/pipeline.pl    \
                   --rundir JoshuaPaper/Experiments/2  \
                   --readme "Hiero LM:KenLm Order:3 Tuning:MIRA"  \
                   --source te \
                   --target en  \
                   --corpus input/training.te-en \
                   --tune input/dev.te-en \
                   --test input/devtest.te-en \
                   --first-step tune \
                   --tuner mira \
                   --grammar JoshuaPaper/Experiments/1/grammar.gz \
                   --no-corpus-lm \
                   --lmfile JoshuaPaper/Experiments/1/lm.gz



ERROR:
Using SCRIPTS_ROOTDIR: /home/smt/MachineTranslation/Work/mosesdecoder/scripts
MERT starting values and ranges for random generation:
  tm_pt_1 =   1.000 ( 0.00 ..  1.00)
  OOVPenalty =   1.000 ( 0.00 ..  1.00)
  tm_pt_3 =   1.000 ( 0.00 ..  1.00)
  tm_pt_5 =   1.000 ( 0.00 ..  1.00)
  tm_pt_4 =   1.000 ( 0.00 ..  1.00)
   lm_0 =   1.000 ( 0.00 ..  1.00)
  WordPenalty =  -1.000 ( 0.00 ..  1.00)
  tm_pt_2 =   1.000 ( 0.00 ..  1.00)
  tm_glue_0 =   1.000 ( 0.00 ..  1.00)
  tm_pt_0 =   1.000 ( 0.00 ..  1.00)
Saved: ./run1.joshua.config
run 1 start at Wed Apr  1 10:42:13 IST 2015
Saving new config to: ./run1.joshua.config
Normalizing lambdas.
DECODER_CFG =
Executing: cat /home/smt/TEEnTransaltionSystem/joshua-decoder-indian-parallel-corpora-1f235c9/te-en/working/JoshuaPaper/Experiments/2/data/tune/tune.tok.lc.te | /home/smt/Experimental/$
(1) run decoder to produce n-best lists
params = -m 3100m -threads 1
decoder_config =
Executing: gzip -f run1.best300.out
Scoring the nbestlist.
exec: /home/smt/TEEnTransaltionSystem/joshua-decoder-indian-parallel-corpora-1f235c9/te-en/working/JoshuaPaper/Experiments/2/tune/1/extractor.sh
Executing: /home/smt/TEEnTransaltionSystem/joshua-decoder-indian-parallel-corpora-1f235c9/te-en/working/JoshuaPaper/Experiments/2/tune/1/extractor.sh > extract.out 2> extract.err
exec: /home/smt/MachineTranslation/Work/mosesdecoder/bin/kbmira   --ffile run1.features.dat --scfile run1.scores.dat -o mert.out
Executing: /home/smt/MachineTranslation/Work/mosesdecoder/bin/kbmira   --ffile run1.features.dat --scfile run1.scores.dat -o mert.out > run1.mert.out 2> mert.log
Exit code: 139
ERROR: Failed to run '/home/smt/MachineTranslation/Work/mosesdecoder/bin/kbmira   --ffile run1.features.dat --scfile run1.scores.dat -o mert.out'. at /home/smt/Experimental/joshua-v6.0$



Any Solution ?

Matt Post

unread,
Apr 1, 2015, 10:02:33 AM4/1/15
to joshua_...@googlegroups.com
Hi — You should update to Joshua 6.

matt


--
You received this message because you are subscribed to the Google Groups "Joshua Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joshua_suppor...@googlegroups.com.
To post to this group, send email to joshua_...@googlegroups.com.
Visit this group at http://groups.google.com/group/joshua_support.
For more options, visit https://groups.google.com/d/optout.

James Johnson

unread,
Apr 1, 2015, 11:33:34 AM4/1/15
to joshua_...@googlegroups.com
HI matt,

I am using joshua 6.0.1

Matt Post

unread,
Apr 1, 2015, 3:07:11 PM4/1/15
to joshua_...@googlegroups.com
What version of Moses are you using? Moses 3 came out the same day as Joshua 6, so Joshua was designed with the kbmira in Moses 2.1.1 in mind. The Joshua 6.1 release will update to a Moses 3 dependency.

So probably you need to install and use the official Moses 2.1.1 release.

matt


On Apr 1, 2015, at 11:33 AM, James Johnson <jamesjoh...@gmail.com> wrote:

HI matt,

I am using joshua 6.0.1

Matt Post

unread,
Apr 1, 2015, 3:07:43 PM4/1/15
to joshua_...@googlegroups.com
You could also use MERT or PRO for tuning, which don't depend on Moses.

matt
Reply all
Reply to author
Forward
0 new messages