Hi,
In lines 1351ff of experiment.perl, a number of patterns are define,
which detect
crashes of steps:
foreach my $pattern (@{$ERROR{&defined_step_id($i)}},
'error','killed','core dumped','can\'t read',
'no such file or directory','unknown option',
'died at','exit code','permission denied',
'segmentation fault','abort',
'no space left on device',
'can\'t locate', 'unrecognized option') {
If you want to define additional detector patterns for a specific step, you can
add these in experiment.meta:
See for instance in LM:factorize
factorize
in: tokenized-corpus
out: factorized-corpus
rerun-on-change: TRAINING:output-factors
default-name: lm/factored
pass-unless: factors
parallelizable: yes
error: can't open
error: incompatible number of words in factor
To your question about this particular crash of Moses: you seem to have defined
TranslationModel with num-features=1, but the phrase pairs in the table actually
do not have any feature values.
-phi
On Thu, Oct 10, 2013 at 6:13 PM, Lane Schwartz <[email protected]> wrote:
> I've been toying around again with ems. I know this should be easy,
> but for some reason I'm really having trouble getting the toy config
> changed to successfully run with a hiero model.
>
> I started out with scripts/ems/example/config.toy, and attempted to
> apply the changes described here:
> http://www.statmt.org/moses/?n=FactoredTraining.EMS#ntoc7. The
> resulting setup runs, but dies at the final REPORTING stage.
>
> I looked through the output for various steps, and it appears that the
> EVALUATION:decode step is dying with error message "Feature function
> TranslationModel1 specified 1 dense scores or weights. Actually has
> 0." As a result, the decoder failed to translate the requested
> sentences.
>
> I'm not an expert on ems, but I would have expected EMS to die at the
> EVALUATION:decode if that's where the first critical error occurs.
>
> That aside, I'd appreciate any thoughts on why ems might be dying. I'd
> like to try running some hiero experiments with ems. FWIW, running the
> config.toy phrase-based model works fine.
>
> Thanks,
> Lane
> _______________________________________________
> 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