我正在使用tensor.advanced_subtensor运行一些theano代码,我得到了以下错误:
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缓存?
发布于 2014-08-16 05:22:35
如果您使用*ix,则theano缓存通常位于~/.theano/中。
发布于 2017-07-06 23:56:29
你需要清除Theano缓存。缓存在~/.theano/文件夹中。按照以下步骤手动清除。
import theano
print (theano.config.compiledir)
# and then delete directory returned from above.如果您不想手动删除,请使用下面的命令。
theano-cache purgehttps://stackoverflow.com/questions/25330635
复制相似问题