Hi,

since the cooc file was not created, the problem is very likely
the path to the snt2cooc binary.

-phi

2010/8/31 Sonja PETROVIĆ LUNDBERG <[email protected]>:
> It was path to mkcls that caused the problem! Now that's fixed, bur not this:
>
>        executing 
> /Users/so/work/experiments/test/steps/1/TRAINING_run-giza-inverse.1
> via sh (1)
>        executing /Users/so/work/experiments/test/steps/1/TRAINING_run-giza.1
> via sh (2)
> step TRAINING:run-giza-inverse crashed
> step TRAINING:run-giza crashed
>
> steps/1/TRAINING_run-giza-inverse.1.STDERR says:
>
> Executing: /Users/so/tools/bin/GIZA++  -CoocurrenceFile
> /Users/so/work/experiments/test/training/giza-inverse.1/fr-en.cooc -c
> /Users/so/work/experiments/test/training/prepared.1/fr-en-int-train.snt
> -m1 5 -m2 0 -m3 3 -m4 3 -model1dumpfrequency 1 -model4smoothfactor 0.4
> -nodumps 1 -nsmooth 4 -o
> /Users/so/work/experiments/test/training/giza-inverse.1/fr-en
> -onlyaldumps 1 -p0 0.999 -s
> /Users/so/work/experiments/test/training/prepared.1/en.vcb -t
> /Users/so/work/experiments/test/training/prepared.1/fr.vcb
> ERROR: parameter 'coocurrencefile' does not exist.
> WARNING: ignoring unrecognized option:  -CoocurrenceFile
>
> although there is a
> /Users/so/work/experiments/test/training/giza-inverse.1/fr-en.cooc
> file.
>
> steps/1/TRAINING_run-giza.1.STDERR ends with:
>
> Executing: rm -f
> /Users/so/work/experiments/test/training/giza.1/en-fr.A3.final.gz
> Executing: gzip /Users/so/work/experiments/test/training/giza.1/en-fr.A3.final
>
> Very thankful for all the help,
> Sonja
>
> P.S. Should I continue sending these questions to the whole list or
> Philipp only?
>
>
> 2010/8/31 Philipp Koehn <[email protected]>:
>> Hi,
>>
>> you need to look at steps/1/TRAINING_prepare-data.1.STDERR to see what
>> crashed the step. I presume it has something to do with the installation
>> path to mkcls. Otherwise, please also check if the input files were created
>> correctly.
>>
>> -phi
>>
>> 2010/8/31 Sonja PETROVIĆ LUNDBERG <[email protected]>:
>>> Thanks!
>>>
>>> Next problem happens in the first step:
>>>
>>> step TRAINING:prepare-data crashed
>>> number of steps doable or running: 0
>>>
>>> I tried rm steps/1/TRAINING_prepare-data.1* and experiment.perl
>>> -continue 1 -exec, but it crashed again, at the same place.
>>>
>>> Sonja
>>>
>>> 2010/8/31 Philipp Koehn <[email protected]>:
>>>> Hi,
>>>>
>>>> ghostview seems to sometimes act funny and not display
>>>> a just recently written file. In this case, you need to manually
>>>> type
>>>>
>>>>  % gv steps/0/graph.0.ps
>>>>
>>>> after running experiment.perl
>>>>
>>>> -phi
>>>>
>>>> 2010/8/31 Sonja PETROVIĆ LUNDBERG <[email protected]>:
>>>>> weight.ini was missing in that directory, but I've found it in
>>>>> another, almost identical, directory (with Moses decoder stuff). I
>>>>> have no idea why there were two different EMS directories, and why
>>>>> there was no weight.ini in the first one.
>>>>>
>>>>> Now I experience another problem with the same command "perl
>>>>> experiment.perl -config config.toy":
>>>>>
>>>>> DEFINE STEPS (run with -exec if everything ok)
>>>>> Warning: locale not supported by Xlib, locale set to C
>>>>> gv: Cannot open file steps/0/graph.0.ps (Inappropriate file type or 
>>>>> format)
>>>>>
>>>>> The locale warning probably appears because I have OS X, but why the
>>>>> GhostView problem?
>>>>>
>>>>> Thank you,
>>>>> Sonja
>>>>>
>>>>>
>>>>> 2010/8/31 Philipp Koehn <[email protected]>:
>>>>>> Hi,
>>>>>>
>>>>>> the directory  
>>>>>> /Users/so/tools/moses-scripts/scripts-20100806-1525/ems/example/data
>>>>>> should contain:
>>>>>>
>>>>>> nc-5k.en
>>>>>> nc-5k.fr
>>>>>> test-ref.en.sgm
>>>>>> test-src.fr.sgm
>>>>>> weight.ini
>>>>>>
>>>>>> At least that is what is in the SVN directory 
>>>>>> moses/scripts/ems/example/data.
>>>>>>
>>>>>> -phi
>>>>>>
>>>>>> 2010/8/31 Sonja PETROVIĆ LUNDBERG <[email protected]>:
>>>>>>> Hi!
>>>>>>>
>>>>>>> I am trying to learn how to use EMS on my computer, but already in the
>>>>>>> testing phase, using config.toy that comes with the installation of
>>>>>>> Moses, I experience this problem:
>>>>>>>
>>>>>>> ikso-ho:test so$ perl experiment.perl -config config.toy
>>>>>>> STARTING UP AS PROCESS 41208 ON ikso-ho.lan AT Tue Aug 31 11:05:48 CEST 
>>>>>>> 2010
>>>>>>> LOAD CONFIG...
>>>>>>> find: 
>>>>>>> /Users/so/tools/moses-scripts/scripts-20100806-1525/ems/example/data/weight.ini*:
>>>>>>> No such file or directory
>>>>>>> TUNING:weight-config: file
>>>>>>> /Users/so/tools/moses-scripts/scripts-20100806-1525/ems/example/data/weight.ini
>>>>>>> does not exist!
>>>>>>> Died at experiment.perl line 355.
>>>>>>>
>>>>>>> Is weight.ini supposed to be there, or should it be created during the
>>>>>>> configuration process?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Sonja
>>>>>>> _______________________________________________
>>>>>>> Moses-support mailing list
>>>>>>> [email protected]
>>>>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to