我的代码工作正常。但是,现在我收到的错误是:
Using gpu device 0: GeForce GT 750M
WARNING (theano.gof.cmodule): ModuleCache.refresh() Found key without dll in cache, deleting it. /Users/mas/.theano/compiledir_Darwin-14.5.0-x86_64-i386-64bit-i386-2.7.10-64/tmpcm9_P6/key.pkl
INFO (theano.gof.compilelock): Waiting for existing lock by unknown process (I am process '2799')
INFO (theano.gof.compilelock): To manually release the lock, delete /Users/mas/.theano/compiledir_Darwin-14.5.0-x86_64-i386-64bit-i386-2.7.10-64/lock_dir
我删除了文件夹lock_dir,但我仍然收到相同的消息。
答案 0 :(得分:3)
我通过将以下代码添加到我的〜/ .theanorc:
来解决了这个问题 [全球]
base_compiledir = / TMP /%(用户)S / theano.NOBACKUP