首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >theano NotImplementedError

theano NotImplementedError
EN

Stack Overflow用户
提问于 2014-08-16 00:49:55
回答 2查看 846关注 0票数 1

我正在使用tensor.advanced_subtensor运行一些theano代码,我得到了以下错误:

代码语言:javascript
复制
NotImplementedError: Could not import inplace_increment, so some advanced indexing features are disabled. They will be available if you update NumPy to version 1.8 or later, or to the latest development version. You may need to clear the cache (theano-cache clear) afterwards.

我有最新版本的theano (0.6.0.dev-60b5ccc2bcabb1010714376764daf8a50722cee9)和numpy (1.8.0)。为什么我仍然收到这个错误?如何解决此错误?如何清除theano缓存?

EN

回答 2

Stack Overflow用户

发布于 2014-08-16 05:22:35

如果您使用*ix,则theano缓存通常位于~/.theano/中。

票数 0
EN

Stack Overflow用户

发布于 2017-07-06 23:56:29

你需要清除Theano缓存。缓存在~/.theano/文件夹中。按照以下步骤手动清除。

代码语言:javascript
复制
 import theano
 print (theano.config.compiledir)
 # and then delete directory returned from above.

如果您不想手动删除,请使用下面的命令。

代码语言:javascript
复制
theano-cache purge
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25330635

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档