代码之家  ›  专栏  ›  技术社区  ›  Roi Mulia

了解TensorFlow模型图像输入大小(字节)

  •  0
  • Roi Mulia  · 技术社区  · 4 年前

    https://drive.google.com/file/d/1VFC_wIpw4O7xBOiTgUldl79d9LA-LsnA/view 模型期望图像输入大小为192x192。运行一个Python脚本来确定TF输入会让我们:

    INPUT
    [  1 192 192   3]
    <class 'numpy.float32'>
    

    尝试将图像输入添加到模型时,出现以下错误:

    Provided data count 23040 must match the required count 442368.
    

    谢谢你的帮助!

    0 回复  |  直到 4 年前