提交 db344856 authored 作者: Frederic's avatar Frederic

update error message

上级 0950bc20
...@@ -432,7 +432,7 @@ def use(device, ...@@ -432,7 +432,7 @@ def use(device,
if not hasattr(cuda_ndarray.cuda_ndarray, 'select_a_gpu'): if not hasattr(cuda_ndarray.cuda_ndarray, 'select_a_gpu'):
raise Exception( raise Exception(
"Delete your Theano cache. The automatic" "Delete your Theano cache. The automatic"
" recompilation didn't worked.") " recompilation did not work.")
cuda_ndarray.cuda_ndarray.select_a_gpu() cuda_ndarray.cuda_ndarray.select_a_gpu()
use.device_number = active_device_number() use.device_number = active_device_number()
# This is needed to initialize the cublas handle. # This is needed to initialize the cublas handle.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论