Questions tagged [plaidml]
28 questions
14
votes
2 answers
Anyway to work with Keras in Mac with AMD GPU?
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)?

bikram
- 7,127
- 2
- 51
- 63
2
votes
1 answer
Keras and PlaidML errors appear despite successful setup
I have the up-to-date versions of Keras and PlaidML installed. I ran the file plaidml-setup and configured plaidml to use my AMD GPU:
C:\WinPython\python-3.6.1.amd64\Scripts>plaidml-setup
PlaidML Setup (0.7.0)
(...)
Default Config Devices:
…

Jakub Supeł
- 21
- 3
2
votes
2 answers
Plaidml wont setup: 'plaidml-setup' is not recognized as an internal or external command
I am on a windows machine, and I am attempting to set up plaidml after installing using the "plaidml-setup" command, but it does not work. I keep getting the "'plaidml-setup' is not recognized as an internal or external command, operable program or…

gompersboy123
- 21
- 1
2
votes
1 answer
Verify if plaidml is using gpu
I have installed plaidml-keras and configured it to use my local GPU.
However, within a python script, is there anyway I can verify my plaidml keras backend is using GPU and not CPU?

Nasif Imtiaz Ohi
- 1,563
- 5
- 24
- 45
2
votes
1 answer
plaidml-setup uses the wrong lib path and gets OSErrors
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…

KGB
- 33
- 4
1
vote
1 answer
Cannot run PlaidML: 'str' object has no attribute 'decode'
I am trying to run Keras with my GPU on my Macbook Pro (2020).
tried to run a test with plaidml
$ plaidbench keras mobilenet
I get the following error:
'str' object has no attribute 'decode'
Set --print-stacktraces to see the entire traceback
I…

Niels Hoogeveen
- 365
- 4
- 19
1
vote
0 answers
plaidml.keras.install_backend() -> "AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'" problem
I installed plaidML to utilize intel UHD graphics card for tensorflow. I ran the code below to check if the plaidML deep learning framework works well as a backend of Keras.
import plaidml.keras
plaidml.keras.install_backend()
Then the following…

VirusVersa
- 11
- 2
1
vote
1 answer
Cannot Run Keras Model On GPU With Plaidml
I Want to Run this Keras Model on My GPU but it runs on my cpu I used
Plaidml to use my AMD GPU, plaidml is properly set and it runs
perfectly on other models
I think Maybe Becaouse I'm importing tensoflow but I'm Not sure about that, I need the…

Venda
- 167
- 1
- 4
- 15
1
vote
1 answer
Can I have some help finding out where to change a python setuptools version in this build error?
I am attempting to build a python package called plaidML from source. It uses a tool called bazelisk which says it is a wrapper for something called bazel. I am not familiar with any of these tools, just following instructions blindly.
Anyway, the…

Randy Poe
- 11
- 3
1
vote
1 answer
plaidml-setup is not recognized on Windows, even after successful installation
I followed all the steps as on the documentation from VertexAI but after installing plaidml-keras, when I try to run setup, it throws an error.
C:\Users\anura>pip install plaidml-keras
Requirement already satisfied: plaidml-keras in…

Anurag Srivastava
- 21
- 3
1
vote
0 answers
Keras: which version started to support the Saved Model format?
I'm trying PlaidML, which requires keras==2.2.4. And I'm having difficulty loading the Saved Model format.
OSError: Unable to open file (unable to open file: name = '', errno = 13, error message = 'Permission denied', flags = 0,…

Kirk
- 446
- 4
- 18
1
vote
1 answer
Get the layer output of a submodel in Keras
I am currently trying to implement a custom loss function in Keras. However, as my model is a combination of VGG and my custom network, I can't get the output of my submodel.
Here is the network definition:
model = VGG19(weights='imagenet',…

KalvinB
- 305
- 1
- 3
- 11
1
vote
0 answers
Using a Keras DataGenerator with a Triplet network
I am currently trying to implement a network that is training on image triplets. For this, I adapted a par generator I found on the Internet:
def triplet_generator(triples, image_cache, datagens, batch_size=32):
while True:
# shuffle…

KalvinB
- 305
- 1
- 3
- 11
0
votes
1 answer
Plaid API and Spring Boot - Problem with making an API call
This may seem like a very specific question, however I am sure that the problem I am running into can be abstracted into a situation that can occur when working with any API or Spring Boot in general.
I am using Plaid's API for retrieving dummy…

abma493
- 1
0
votes
0 answers
Conflicting errors with keras conv2d layers
I have a python script that makes a keras model using plaidml backend
the relevant parts of the script are
from __future__ import print_function
import plaidml.keras
plaidml.keras.install_backend()
import os
os.environ["KERAS_BACKEND"] =…

Gaming with Sam
- 1
- 1