tensorflow / nmt

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

"this TensorFlow binary was not compiled to use" ... Aborted (core dumped) #448

Open ruochongli opened 4 years ago

ruochongli commented 4 years ago

Hi, I met this problem when I tried to run the following code on GPU:

python -m nmt.nmt \ --src=en --tgt=zh \ --vocab_prefix=nmt/wmt17/vocab.bpe.32000 \ --train_prefix=nmt/wmt17/train.tok.clean.bpe.32000 \ --dev_prefix=nmt/wmt17/newsdev2017.tok.bpe.32000 \ --test_prefix=/wmt17/newstest2017.tok.bpe.32000 \ --out_dir=nmt/nmt_model \ --num_train_steps=12000 \ --steps_per_stats=100 \ --num_layers=2 \ --num_units=128 \ --dropout=0.2 \ --metrics=bleu

Also, running the following code will give the same error:

python -m nmt.nmt \ --src=en --tgt=zh \ --hparams_path=nmt/standard_hparams/wmt16.json \ --out_dir=nmt/deen_gnmt \ --vocab_prefix=nmt/wmt17/vocab.bpe.32000 \ --train_prefix=nmt/wmt17/train.tok.clean.bpe.32000 \ --dev_prefix=nmt/wmt17/newsdev2017.tok.bpe.32000 \ --test_prefix=nmt/wmt17/newstest2017.tok.bpe.32000

The picture of the error:

屏幕快照 2019-09-30 下午8 58 56

Can anyone help? Is this a compiling problem? How can I tackle with it? Or is this a problem caused by my dataset?

Thank you very much.

nashid commented 4 years ago

I also had the same issue.