ResNet50 遇到意外的关键字参数 'include_top'

作者: santoshk17创建于 2018年11月18日更新于 2021年8月16日

Keras 版本 - 2.2.4 Python - 3.6.6 问题: 6 model = ResNet50(input_tensor=image_input, include_top=True, weights='imagenet') TypeError: _obtain_input_shape() 获得了一个意外的关键字参数 'include_top' 是否有办法解决这个问题?

内容来源: fchollet/deep-learning-models