成功解决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
總結
以上是生活随笔為你收集整理的成功解决ValueError: Dimension 1 in both shapes must be equal, for ‘Assign_8‘ (op: ‘Assign‘) with input s的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CV:计算机视觉技术之图像基础知识(二)
- 下一篇: 成功解决利用matplotlib.pyp