您的当前位置:首页正文

python报错

2024-11-30 来源:个人技术集锦

报错:

TypeError: reshape(): argument 'shape' must be tuple of ints, but found element of type float at pos 2

解决办法

chu = (len(t))/64

改为:

chu = (len(t))//64

就能运行啦

显示全文