fastai / courses

fast.ai Courses
Apache License 2.0
5.61k stars 2.74k forks source link

install_gpu.sh: ValueError «You are trying to use the old GPU back-end» when importing #229

Closed nullbyte91 closed 5 years ago

nullbyte91 commented 5 years ago

Host Information: Ubuntu 16.04 LTS Graphics Quadro P2000

conda 4.5.12 theano 1.0.3

Using the install_gpu.sh to set up the fast.ai env and When I ran the deeplearning1/nbs/lesson1.ipynb notebook getting the below error, ValueError: You are tring to use the old GPU back-end

I could able to resolve this issue by exporting THEANO_FLAGS. $ export THEANO_FLAGS=mode=FAST_RUN,device=cuda,floatX=float32

If this's valid one, We have to incorporate this changes to install_gpu.sh.