tensorflow / nmt

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

Thanks! It works. But I found that inserting following codes into `nmt.py` works better for me since I am using Pycharm to remotely debug. #451

Open lauraset opened 4 years ago

lauraset commented 4 years ago

Thanks! It works. But I found that inserting following codes into nmt.py works better for me since I am using Pycharm to remotely debug.

import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

Originally posted by @lyy1994 in https://github.com/tensorflow/nmt/issues/60#issuecomment-322082481