theano gives “…Waiting for existing lock by unknown process…”

試著忘記壹切 提交于 2019-12-10 18:26:46

问题


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

I delete the folder lock_dir, but I still get the same message.


回答1:


I solved this problem by adding the following code to my ~/.theanorc :

[global]
base_compiledir=/tmp/%(user)s/theano.NOBACKUP



来源:https://stackoverflow.com/questions/34035632/theano-gives-waiting-for-existing-lock-by-unknown-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!