Open provenclei opened 1 year ago
在验证和预测阶段 batch_output_all = np.append(batch_output_all, batch_output, axis=0) pred_label = np.append(pred_label, batch_output, axis=0) 该两句话出错: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (32,) + inhomogeneous part. 请问该如何解决?
哪个文件里面多少行报错额。
我也遇见这样的问题了,我的差不多在110多行哪里
我也遇见这样的问题了,我的差不多在110多行哪里
有没可能是包的版本问题。
在验证和预测阶段 batch_output_all = np.append(batch_output_all, batch_output, axis=0) pred_label = np.append(pred_label, batch_output, axis=0) 该两句话出错: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (32,) + inhomogeneous part. 请问该如何解决?