提交 492f2af4 authored 作者: Frederic's avatar Frederic

replace deprecared code in python 2.6. The new code work for python 2.4

上级 823bc88d
......@@ -218,7 +218,7 @@ if cuda_available:
atexit.register(gpu_shutdown)
except EnvironmentError, e:
cuda_available = False
cuda_initialization_error_message = e.message
cuda_initialization_error_message = " ".join(e.args)
class GpuOp(theano.gof.Op):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论