成功解决IndexError: shape mismatch: indexing arrays could not be broadcast together with shapes (100,) 解决问题Index Error: shape mismatch: indexing arrays could not be broadcast together with shapes (100,) (100,10) 解决思路索引错误:形状不匹配:索引数组无法与形状(100,)一起广播(100,10)。 参考文章 解决方法使两个numpy数组保持形状一致即可! |
|