
Machine Learning
Bthsky
生命以痛吻我
展开
-
h5py ImportError: DLL load failed while importing defs: 找不到指定的程序。
h5py, hdf5原创 2022-09-28 00:25:32 · 2446 阅读 · 2 评论 -
Keras前后尺寸一致却依然报错'ValueError: total size of new array must be unchanged'的原因
某些情况下我们需要对张量进行维度变换,一般可以通过调用以下两种方法实现:# 1. TensorFlow自带tf.reshape(tensor, target_shape) # 2. (推荐)Keras中的Reshape层。如果用第一种方法的话,最后构建Model的时候可能会报错:# AttributeError: 'NoneType' object has no ...原创 2019-07-20 17:12:39 · 6989 阅读 · 0 评论