Closed cellphonef closed 5 years ago
我用46*120进行训练得到的h5文件 在model加载时 报错 ValueError: Dimension 0 in both shapes must be equal, but are 768 and 960. Shapes are [768,5990] and [960,5990]. for 'Assign_159' (op: 'Assign') with input shapes: [768,5990], [960,5990].
怎么解决啊 @YCG09
我也遇到了这个问题,请问你解决了吗,谢谢
训练得到的inputshape得和你predict的时候一致
我resize了 训练的图片也要和之前的图片一样
resize到和作者一样的大小 32*280把 不resize的方法我也不会
我用46*120进行训练得到的h5文件 在model加载时 报错 ValueError: Dimension 0 in both shapes must be equal, but are 768 and 960. Shapes are [768,5990] and [960,5990]. for 'Assign_159' (op: 'Assign') with input shapes: [768,5990], [960,5990].
怎么解决啊 @YCG09