首页 > 其他分享> > 成功解决ValueError: Dimension 1 in both shapes must be equal, for ‘Assign_8‘ (op: ‘Assign‘) with input s
成功解决ValueError: Dimension 1 in both shapes must be equal, for ‘Assign_8‘ (op: ‘Assign‘) with input s
作者:互联网
成功解决 raise ValueError(str(e))
ValueError: Dimension 1 in both shapes must be equal, but are 1034 and 1024. Shapes are [100,1034] and [100,1024]. for 'Assign_8' (op: 'Assign') with input shapes: [100,1034], [100,1024].
目录
解决问题
g.load_weights('models/dcgan_gen.h5')
File "F:\Program Files\Python\Python36\lib\site-packages\keras\engine
标签:both,1024,ValueError,shapes,100,Assign,1034 来源: https://blog.51cto.com/u_14217737/2912434