How to set up theano config

后端 未结 5 422
面向向阳花
面向向阳花 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:43

    I have been having similar problems. I have NVIDIA 1070 GPU on a desktop machine with Asus Z270E motherboard and was able to import theano after setting up the .theanorc file as below. (And rebooting afterwards)

    [global]
    floatX = float32
    device = gpu
    
    [cuda]
    root = /usr/local/cuda
    [lib]
    cnmem = 1   
    

提交回复
热议问题