Closed alvations closed 6 years ago
Found the issue, sort of typo (on my part)
This works:
$MARIAN/marian \
--model $MODEL_DIR/model.npz --type transformer \
--train-sets $DATA_DIR/data/all.paracrawl.8M.bpe.en $DATA_DIR/data/all.paracrawl.8M.bpe.de \
--max-length 100 \
But when there's an extra space after $DATA_DIR/data/all.paracrawl.8M.bpe.de \
, it looks for a 3rd input in the --train-sets
(shell quirks).
$MARIAN/marian \
--model $MODEL_DIR/model.npz --type transformer \
--train-sets $DATA_DIR/data/all.paracrawl.8M.bpe.en $DATA_DIR/data/all.paracrawl.8M.bpe.de \
--max-length 100 \
Using
1.6.0
(bda9b18b6cede63b0476e9c144da3f62f03515b1), with--type transformer
, it's looking for 3 inputs instead of 2.With https://gist.github.com/emjotde/9c5260870c25304b9c8b111ddcf81b74
In the log: