提交 99157a6d authored 作者: Hengjean's avatar Hengjean 提交者: Frederic

Temporary hack to allow tests to finish (will be removed when solution is found)

上级 e31d623f
......@@ -1091,7 +1091,10 @@ class FunctionMaker(object):
# load the graph_db dictionary
try:
f = open(graph_db_file, 'r+b')
tmp = theano.config.unpickle_function
theano.config.unpickle_function = False
graph_db = cPickle.load(f)
theano.config.unpickle_function = tmp
f.close()
print 'graph_db is not empty'
except EOFError, e:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论