See here: http://deeplearning.net/software/theano/library/config.html

You can change this in the environment variables. I added the following to my .theanorc file and saw significant speed increases during training of a cnn:

[lib]
cnmem=.75

 

Beyond .75 I got out of memory errors, but I'd imagine this varies based on your setup.

相关文章:

  • 2021-04-26
  • 2021-12-27
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
猜你喜欢
  • 2022-12-23
  • 2021-04-02
  • 2021-08-26
  • 2021-06-18
  • 2021-08-16
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案