theano 構成 cnmem = 1 で Theano のインポートに失敗する
GPUがtheano pythonスクリプトに完全に割り当てられていることを確認する方法はありますか?
注: GPU の使用を避けるためにディスプレイは使用されません。
ファイル: .theanrc
cnmem = 1
ファイル: test.py
print 'Importing Theano Library ...'
import theano
print 'Imported'
出力:
$ python test.py
Importing Theano Library ...
Killed
$
cnmem = 0.75 でのみ動作します
ファイル: .theanrc
cnmem = 0.75
出力:
$ python test.py
Importing Theano Library ...
Imported
$