Closed JohnReid closed 7 years ago
I am not sure, will check and write back as soon as I find something!
@JohnReid Can you also post which version of Keras you are running, Tensorflow or Theano backend? Linux, Mac or Windows?
@JohnReid: I too suspect that you might be using the Theano backend assuming you've installed versions of packages as mentioned in this repository's requirements.txt
.
Could you make your~/.keras/keras.json
look like the following and see if the problem goes away?
{
"image_dim_ordering": "tf",
"epsilon": 1e-07,
"floatx": "float32",
"backend": "tensorflow"
}
That works now when I change the image_dim_ordering
from th
to tf
. Thanks for your help. It might be nice to set these options in the code to avoid anyone else having this problem...
Did you set it in the keras config file or somewhere in the notebook code? And if you did it in the notebook code, could you share a snippet?
No I did it in the config file but I don't like changing that as I have other code that relies on those settings. I think the calls to set the relevant config are documented here: https://keras.io/backend/
I see, thanks. I have, for now, added the config file notes to the README. Perhaps someone else will point this out tomorrow with a more notebook-specific fix. :)
I followed the instructions but I get this error when running step 8 of the 6th notebook. Any ideas what might be wrong? Looking forward to tomorrow.