bug及修复
用keras运行了基础的mnist程序,在kaggle的kernel上可以通过,但移植到notebook就会出现各种问题,例如:
ValueError: negative dimensions are not allowed
{ "image_dim_ordering": "th", "epsilon": 1e-07, "floatx": "float32", "backend": "theano" }
TypeError: ‘int’ object is not callable和 input_shape:
参考:https://github.com/fchollet/keras/blob/master/examples/mnist_cnn.py
解决了和shape有关的问题
把Keras.json文件中的把tf改成了th