导入 keras 时出现 ValueError «您正在尝试使用旧的 GPU 后端»
ValueError «You are trying to use the old GPU back-end» when importing keras
我在 Ubuntu 16.04 上使用 Keras with the Theano 后端。我的设置一直没有问题,但是,当我导入 Keras (import keras
) 时突然出现以下错误:
ValueError: You are trying to use the old GPU back-end. It was removed from Theano. Use device=cuda* now. See https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29 for more information.
我该如何解决这个问题?
我在 Ubuntu 16.04 上使用 Keras with the Theano 后端。我的设置一直没有问题,但是,当我导入 Keras (import keras
) 时突然出现以下错误:
ValueError: You are trying to use the old GPU back-end. It was removed from Theano. Use device=cuda* now. See https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29 for more information.
我该如何解决这个问题?