Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only train in cpu, not gpu #4

Open
rzhangpku opened this issue Jun 25, 2018 · 0 comments
Open

only train in cpu, not gpu #4

rzhangpku opened this issue Jun 25, 2018 · 0 comments

Comments

@rzhangpku
Copy link

when I run
`
PATH="/usr/local/cuda/bin/:$PATH"
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:~/anaconda3/lib"
export CUDA_ROOT=/usr/local/cuda
export floatX=float32
export THEANO_FLAGS=mode=FAST_RUN,device=cuda,floatX=float32
export OMP_NUM_THREADS=8

nmt-train -c ~/Documents/Stage/GAN_NMT_model/attention_en-fr.conf`
It is only trained in cpu, not gpu.
Please help me, any advice will be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant