成功解决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].

目录

解决问题

解决思路

解决方法


解决问题

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].

解决思路

值错误:两种形状的维度1必须相等,但是是1034和1024。形状为[100,1034]和[100,1024]。对于具有输入形状的'Assign_8' (op: 'Assign'):[100,1034],[100,1024]。

解决方法

读入的h5文件本身错误,需要重新训练得到最新的h5文件,然后导入读取即可!

g.load_weights('models/DCGAN1123.h5')

成功解决ValueError: Dimension 1 in both shapes must be equal, but are 1034 and 1024. Shapes are [100,103相关推荐

  1. 成功解决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 ...

  2. 成功解决ValueError: Data is not binary and pos_label is not specified

    成功解决ValueError: Data is not binary and pos_label is not specified 目录 解决问题 解决思路 解决方法 解决问题 raise Value ...

  3. 成功解决ValueError: DataFrame.dtypes for data must be int, float or bool.Did not expect the data types

    成功解决ValueError: DataFrame.dtypes for data must be int, float or bool. Did not expect the data types ...

  4. 成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h

    成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h ...

  5. 成功解决ValueError: Unable to add relationship because child variable ‘ID‘ in ‘cats_df‘ is also its inde

    成功解决ValueError: Unable to add relationship because child variable 'ID' in 'cats_df' is also its inde ...

  6. 成功解决ValueError: fill value must be in categories

    成功解决ValueError: fill value must be in categories 目录 解决问题 解决思路 解决方法 解决问题 ValueError: fill value must ...

  7. 成功解决 ValueError: fill value must be in categories

    成功解决 ValueError: fill value must be in categories 目录 解决问题 解决思路 解决方法 解决问题 raise ValueError("fill ...

  8. 成功解决ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() o

    成功解决ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() o ...

  9. 成功解决ValueError: Shape of passed values is (33, 1), indices imply (33, 2)

    成功解决ValueError: Shape of passed values is (33, 1), indices imply (33, 2) 目录 解决问题 解决思路 解决方法 解决问题 Valu ...

最新文章

  1. 【PP操作手册】成品入库和订单报工
  2. ElasticSearch和mongodb的对比
  3. Java PushbackInputStream markSupported()方法与示例
  4. vue判断组件是否显示_vue组件中watch props根据v-if动态判断并挂载DOM的问题
  5. java原理—反射机制
  6. 69. 二叉树的层次遍历Python实现
  7. php dlt645,RT-Thread-Mirror
  8. 洛谷P1880 石子合并(区间DP)(环形DP)
  9. 2016年计算机考研大纲,2016考研计算机大纲解析
  10. locust测试工具入门
  11. 获取学信网学历电子版流程
  12. 图像处理基础操作一(几何变换、平滑处理、形态学操作)
  13. Reactor(反应器)模式
  14. sentiment analysis
  15. python添加文字水印中间旋转45度,Python添加pdf水印
  16. ResNeXt算法详解(resnet提升篇)
  17. 香港金融中心谁与争锋
  18. 大数据存储项目-基于Flink的高速公路ETC入深圳数据实时分析平台
  19. 【JqGrid】jqgrid合并单元格
  20. hpprobook440g1拆机_坚固才是真理 惠普ProBook 440 G1外观评测

热门文章

  1. 身份证识别——iOS端实现身份证检测
  2. 双绞线传输距离多长_网线数据传输最大距离是多少米
  3. android 模糊查询搜索框_彻底搞懂 iOS 和 Android 的设计差异
  4. ubuntu下安装Thinkpad指纹识别系统
  5. 在Linux Debian 8下部署基于PHP的Web项目。
  6. Java 多线程(四)—— 单例模式
  7. 微信小游戏爆款秘笈 数据库MongoDB攻略篇
  8. [20180403]访问dba_autotask_task无输出问题.txt
  9. 工匠精神,缔造美国净水传奇
  10. 在centos7中静默安装oracle11g