ValueError: Cannot feed value of shape (1,450,300) for Tensor which has shape '(?,?,?,3)'解决方案
测试中遇到的问题,直接上代码,核心在53-55行,先通过cvtcolor转换通道,然后用PIL从numpy转换为PIL类型图像importnumpyasnpimportosimportsix.moves.urllibasurllibimportsysimporttarfileimporttensorflowastfimportzipfilefromcollectionsimportdefaultd