tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.36k stars 1.96k forks source link

the pretrained word representations (word2vec) #380

Closed yapingzhao closed 5 years ago

yapingzhao commented 5 years ago

An error occurred while I was running the command python -m nmt.nmt \ --src=vi --tgt=en \ --vocab_prefix=/tmp/nmt_data/vocab \ --train_prefix=/tmp/nmt_data/train \ --dev_prefix=/tmp/nmt_data/tst2012 \ --test_prefix=/tmp/nmt_data/tst2013 \ --out_dir=/tmp/nmt_model \ --num_train_steps=12000 \ --steps_per_stats=100 \ --num_layers=2 \ --num_units=128 \ --dropout=0.2 \ --metrics=bleu --embed_prefix=nmt/nmt_data/vector error:"All embedding size should be size." but,bilingual word size are the same. please give me some suggestions, thank you!