keras ignoring values in $HOME/.keras/keras.json file
I know the default backend for Keras has switched from Theano to TensorFlow, but with the dev version of Theano I can train on the GPU with OpenCL (I have an AMD card). However, when I import Keras, it only uses the TensorFlow backend even after I changed the values in the Keras configuration file : ~ $ cat $HOME/.keras/keras.json {"epsilon": 1e-07, "floatx": "float32", "backend": "theano"} ~ $ python -c 'import keras' Using TensorFlow backend. ~ $ KERAS_BACKEND=theano python -c 'import keras' Using Theano backend. Mapped name None to device opencl0:2: AMD Radeon R9 M370X Compute Engine In