Keras: UserWarning: The output shape of `ResNet50(include_top=False)` has been changed since Keras 2.2.0. warnings.warn('The output shape of `ResNet50(include_top=False)` '

Created on 23 Jan 2019  路  1Comment  路  Source: keras-team/keras

I have been trying to train a Resnet50 model , though the training begins , i get the warning above. The keras 2.2.0 documentation indicates an argument like this. Am i doing something wrong??
I have initialised my model like this

base_model = resnet50.ResNet50(include_top=False,
weights='imagenet',
input_shape=(img_width,img_height,3),
classes=2,
pooling=None)

>All comments

Please use the most recent version of keras from github when reporting bugs. Thank you.

Was this page helpful?
0 / 5 - 0 ratings