neulab / xnmt

eXtensible Neural Machine Translation
Other
185 stars 44 forks source link

Output silently fails when path contains ~ #574

Open armatthews opened 5 years ago

armatthews commented 5 years ago

When passing e.g. in an eval task:

- !AccuracyEvalTask
    eval_metrics: bleu
    src_file: mt02.zh
    ref_file: mt02.en
    hyp_file: ~/output/hyps

This will run inference and correctly compute the BLEU score, but the output file is no where to be found.