【发布时间】:2019-06-28 13:25:21
【问题描述】:
我知道 Inception V3 的 input_shape 是 (299,299,3)。但是在 Keras 中,如果 include_top 是 False,则可以构建具有自定义 input_shape 的 Inception V3 版本。
"input_shape:可选的形状元组,仅当
include_top为False时才指定(否则输入形状必须为(299, 299, 3)(使用'channels_last'数据格式)或(3, 299, 299)(使用'channels_first'数据格式)。它应该正好有 3 个输入通道,并且宽度和高度应该不小于 75。例如(150, 150, 3)将是一个有效值" - https://keras.io/applications/#inceptionv3
这怎么可能?如果include_top 是false,为什么它只能有自定义 input_shape?
【问题讨论】:
标签: python tensorflow machine-learning keras conv-neural-network