【问题标题】:What is the maximum possible input size for a Resnet model? (v2, 101)Resnet 模型的最大可能输入大小是多少? (v2, 101)
【发布时间】:2021-10-12 02:24:10
【问题描述】:

当我在 tfhub.dev 上查找 resnet 模型时,它通常会说“输入图像的预期尺寸默认为高 x 宽 = 224 x 224 像素,但 其他输入尺寸是可能的(在限制范围内) )。”

这些限制是什么?我找不到有关它的更多信息。

【问题讨论】:

    标签: tensorflow tensorflow2.0 resnet


    【解决方案1】:

    如果您使用 include_top=True (3,224,224) 或 (224,224,3) 输入形状是必要的。如果你放弃密集层并给出 include_top=False,那么你可以改变你的 input_shape;在这种情况下,文档说: “它应该正好有 3 个输入通道,宽度和高度不应小于 32。例如,(200, 200, 3) 将是一个有效值。” 在https://keras.io/api/applications/resnet/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-08-28
      • 1970-01-01
      • 2011-01-26
      • 2019-03-12
      • 2021-12-14
      • 2018-08-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多