Keras GPU installation for R


So I recently got a new system and I need to go through all the hoops to get GPU support to work for Keras in R.

I followed the steps and it seemed everything worked until I ran it and then this happened:

> library(keras)
> imdb <- dataset_imdb(num_words = 10000)
Error: Installation of TensorFlow not found.
Python environments searched for 'tensorflow' package:
You can install TensorFlow using the install_tensorflow() function.

Currently it is a nightmare - just given the size of downloads and not really winning. I have followed this link: and this one: to try and get it to work (along with several other posts).

State of what I have:
*I am running 64bit Windows 10
*I have a NVIDIA GPU - RTX 2080 TI so my card is definitely compatible.
*I have R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
*Anaconda - I have Anaconda3-5.3.1-Windows-x86_64 as the other versions were giving problem and this seemed to be one that would solve the issue (it did).
*For Cuda I downloaded and installed: cuda_10.1.168_425.25_win10
*For cuDNN I installed: cudnn-10.1-windows10-x64-v7.6.0.64 (and yes I did extract it to the correct folders).
*My Keras is version:

After the above I ran this in the terminal:

install_keras(tensorflow = “gpu”)


All of it installed and worked fine until we got to the last two lines. It did return false and didn't work.

Any help would be appreciated on this topic!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.