Using TensorFlow backend.
Loading data...
Traceback (most recent call last):
x_train shape: (830, 256, 512)
File "/home/liutingxi/Research/VED/Experiment/soccer_resnet.py", line 35, in
Build model...
model = ResNet50(weights='imagenet',input_shape=(256,512))
File "/home/liutingxi/Research/VED/Experiment/resnet50.py", line 192, in ResNet50
data_format=K.image_data_format(),
AttributeError: 'module' object has no attribute 'image_data_format'
在使用Keras中deep-learning-models里的ResNet50模型时,出现了这样的错误
后端用的是TensorFlow 0.9.0,但是
https://github.com/fchollet/deep-learning-models/issues/45
中用的1.0.0版本出现了同样的问题,换成Theano也是,各位大神有没有什么看法呢?感激不尽