How to set up theano config

后端 未结 5 405
面向向阳花
面向向阳花 2020-12-29 19:12

I\'m new to Theano. Trying to set up a config file.

First of all, I notice that I have no .theanorc file:

  1. locate .theanorc - returns nothi
5条回答
  •  天涯浪人
    2020-12-29 19:49

    This worked for me:

    nano ~/.theanorc
    

    Then I entered:

    [global]
    floatX = float32
    device = cuda
    

    Code to check if Theano is using the GPU is on the Theano doc page.

    (I am using Ubuntu 14.04, Theano 0.9.0 (conda), NVIDIA 1080 Ti GPU).

提交回复
热议问题