theano给出"...等待未知进程的现有锁...". [英] theano gives "...Waiting for existing lock by unknown process..."
本文介绍了theano给出"...等待未知进程的现有锁...".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的代码运行正常.但是,现在我收到一条错误消息:
My code was working fine. However, now I am getting an error that says:
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,但是仍然收到相同的消息.
I delete the folder lock_dir, but I still get the same message.
推荐答案
我通过将以下代码添加到我的〜/.theanorc中来解决了这个问题:
I solved this problem by adding the following code to my ~/.theanorc :
[全局]
base_compiledir =/tmp/%(user)s/theano.NOBACKUP
[global]
base_compiledir=/tmp/%(user)s/theano.NOBACKUP
这篇关于theano给出"...等待未知进程的现有锁...".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文