I have installed keras but when I write import keras I am getting the error : ImportError: cannot import name ctc_ops, I want to change the backend from tensor flow to theano but cannot find "keras.json" as mentioned here : https://keras.io/backend/ . Please help me how to resolve this issue. Thanks
4
votes
3 Answers
1
votes
As mentionned in the official documentation, you cannot have this json file using ~/.keras/keras.json
unless you have already run it at least once before. I suggest you to create on with the default configuration:
{
"image_dim_ordering": "tf",
"epsilon": 1e-07,
"floatx": "float32",
"backend": "tensorflow"
}
0
votes