首页
系统
动态
电子资讯
硬件
数码
软件介绍
网络软件
系统工具
应用软件
图形图像
多媒体
编程开发
字体下载
登录
标签
shape
IndexError: Inconsistent shape between the condition and the input (got (xx, 1) and (xx,)
这个错误是制作热力图的时候遇到的。这个原因是热力图传入的数据是一个2维的数据,你传入的是一个 1维的数据。 你只需要将传入的数据reshape即可。可以先使用arry转换格式,reshape(-
shape
inconsistent
IndexError
xx
Input
admin
6小时前
8
0