我可以在配备英特尔高清显卡的笔记本电脑上实施深度学习模型吗
Can I implement deep learning models in my laptop with intel hd graphics
我目前正在为我的硕士学位做一个关于深度学习的项目。我想安装 keras 库,所以当我开始安装 Theano 和 tensorflow 时,我看到我必须安装 CUDA。但是我的笔记本电脑配备了英特尔高清显卡。所以我的问题是,如果我仍然安装它们,它会起作用吗?
谢谢
没有cuda可以安装使用keras,但是不能用intel高清显卡加速gpu
如果你使用Theano作为keras的后端,首先安装Theano:
# for python2
pip install theano
# for python3
pip3 install theano
然后像这样设置 ~/.theanorc 文件:
[global]
floatX = float32
device = cpu
allow_gc = True
[blas]
ldflags = -lopenblas
如果您使用 TensorFlow 作为 keras 的后端,只需安装 CPU 版本的 TensorFlow。
# for python2.7
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp27-none-linux_x86_64.whl
# for python3.4
pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp34-cp34m-linux_x86_64.whl
# for python3.5
pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp35-cp35m-linux_x86_64.whl
然后安装keras:
# for python2
pip install keras
# for python3
pip3 install keras
编辑:
截至目前,您可以直接使用基于 OpenCL 的 clDNN (https://github.com/01org/clDNN) 而不是使用 OpenVX,以便在英特尔显卡上执行深度学习推理。您将必须在 Nvidia 或 AMD 等强大的 GPU 上进行训练,并使用预训练模型并在 clDNN 中使用它。
您可以开始使用英特尔的计算机视觉 SDK (https://software.intel.com/en-us/computer-vision-sdk),以便使用 OpenCV 或 OpenVX 编写深度学习应用程序。
OpenVX (https://www.khronos.org/openvx/) programming model allows you to write simple Neural Network pipelines using the following SPEC (https://www.khronos.org/registry/OpenVX/extensions/neural_network/html/)
或者,您可以使用将 Caffe/TensorFlow 模型转换为 OpenVX 的模型优化器,并且可以在英特尔集成高清显卡上加速 OpenVX 神经网络图。
希望对您有所帮助。
他们是 PlaidML 你可以在 Intel 和 AMD gpu 上训练深度学习模型。
我目前正在为我的硕士学位做一个关于深度学习的项目。我想安装 keras 库,所以当我开始安装 Theano 和 tensorflow 时,我看到我必须安装 CUDA。但是我的笔记本电脑配备了英特尔高清显卡。所以我的问题是,如果我仍然安装它们,它会起作用吗? 谢谢
没有cuda可以安装使用keras,但是不能用intel高清显卡加速gpu
如果你使用Theano作为keras的后端,首先安装Theano:
# for python2
pip install theano
# for python3
pip3 install theano
然后像这样设置 ~/.theanorc 文件:
[global]
floatX = float32
device = cpu
allow_gc = True
[blas]
ldflags = -lopenblas
如果您使用 TensorFlow 作为 keras 的后端,只需安装 CPU 版本的 TensorFlow。
# for python2.7
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp27-none-linux_x86_64.whl
# for python3.4
pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp34-cp34m-linux_x86_64.whl
# for python3.5
pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp35-cp35m-linux_x86_64.whl
然后安装keras:
# for python2
pip install keras
# for python3
pip3 install keras
编辑: 截至目前,您可以直接使用基于 OpenCL 的 clDNN (https://github.com/01org/clDNN) 而不是使用 OpenVX,以便在英特尔显卡上执行深度学习推理。您将必须在 Nvidia 或 AMD 等强大的 GPU 上进行训练,并使用预训练模型并在 clDNN 中使用它。
您可以开始使用英特尔的计算机视觉 SDK (https://software.intel.com/en-us/computer-vision-sdk),以便使用 OpenCV 或 OpenVX 编写深度学习应用程序。
OpenVX (https://www.khronos.org/openvx/) programming model allows you to write simple Neural Network pipelines using the following SPEC (https://www.khronos.org/registry/OpenVX/extensions/neural_network/html/)
或者,您可以使用将 Caffe/TensorFlow 模型转换为 OpenVX 的模型优化器,并且可以在英特尔集成高清显卡上加速 OpenVX 神经网络图。
希望对您有所帮助。
他们是 PlaidML 你可以在 Intel 和 AMD gpu 上训练深度学习模型。