
错误总结
心心强
学海无涯吧。希望跟大家多多交流。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装tensorflow==1.13.1错误 升级numpy
ERROR: Could not find a version that satisfies the requirement grpcio>=1.8.6 (from tensorflow==1.13.1) (from versions: none)ERROR: No matching distribution found for grpcio>=1.8.6 (from tensorf...原创 2020-04-17 12:21:40 · 2997 阅读 · 0 评论 -
两个相乘矩阵类型不匹配
显示:TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type float64 of argument 'a这是由于两个相乘矩阵类型不匹配,调试一下发现x矩阵为tf.float64,W矩阵为tf.float32,改类型用tf.cast()函数,修改如下:y = tf.matmul(tf.ca...原创 2020-04-13 23:02:06 · 490 阅读 · 0 评论