我的代码工作正常.但是,现在我收到一条错误消息:Using gpu device 0: GeForce GT 750MWARNING (theano.gof.cmodule): ModuleCache.refresh() Found key without dll in cache, deleting it. /Users/mas/.theano/co...

我的代码工作正常.但是,现在我收到一条错误消息:
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,但是仍然收到相同的消息.
解决方法:
我通过将以下代码添加到?/ .theanorc中来解决此问题:
[全球]
base_compiledir = / tmp /%(user)s / theano.NOBACKUP
沃梦达教程
本文标题为:Python-theano给出“…正在等待未知进程的现有锁…”


基础教程推荐
猜你喜欢
- Python retrying 重试机制详解 2023-08-11
- linux更新python3.7 2023-11-10
- Linux下安装Python,以及环境变量的配置 2023-09-04
- python Windows和Linux路径表示问题 2023-09-04
- Python实现绘制Matlab格式的地图边框的示例代码 2022-10-20
- python os模块介绍 2023-08-11
- 我如何打开不同的linux终端以在python中输出不同种类的调试信息? 2023-11-10
- python-Shell脚本的Zip函数 2023-11-10
- python3里gbk编码的问题解决 2022-09-02
- 如何使用python生成大量数据写入es数据库并查询操作 2022-10-20