plaidml

plaidml-setup uses the wrong lib path and gets OSErrors

≡放荡痞女 提交于 2021-01-28 21:16:23
问题 I'm trying to install plaidml-keras on macOS High Sierra. I followed the instruction guide: pip install -U plaidml-keras plaidml-setup Then I got the following errors: Traceback (most recent call last): File "/Users/bogao/anaconda3/envs/plaidml/lib/python3.6/site-packages/plaidml/__init__.py", line 154, in load_library return ctypes.cdll.LoadLibrary(libpath) File "/Users/bogao/anaconda3/envs/plaidml/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary return self._dlltype(name) File "

Anyway to work with Keras in Mac with AMD GPU?

早过忘川 提交于 2020-04-01 16:58:11
问题 I have a MacBook Pro with AMD processor and I want to run Keras (Tensorflow backend) in this GPU. I came to know Keras only works with NVIDIA GPUs. What is the workaround (if possible)? 回答1: You can OpenCL library to overcome this. I have tested it and it is working fine for me. Note: I have python version 3.7 and I will be using pip3 for package installation. Steps: Install OpenCL package with the following command pip3 install pyopencl Install PlaidML library using following command pip3

Anyway to work with Keras in Mac with AMD GPU?

大憨熊 提交于 2020-04-01 16:55:15
问题 I have a MacBook Pro with AMD processor and I want to run Keras (Tensorflow backend) in this GPU. I came to know Keras only works with NVIDIA GPUs. What is the workaround (if possible)? 回答1: You can OpenCL library to overcome this. I have tested it and it is working fine for me. Note: I have python version 3.7 and I will be using pip3 for package installation. Steps: Install OpenCL package with the following command pip3 install pyopencl Install PlaidML library using following command pip3