ValueError: expected sequence of length 3573 at dim 0 (got 768)

Posted _刘文凯_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ValueError: expected sequence of length 3573 at dim 0 (got 768)相关的知识,希望对你有一定的参考价值。

pytorch报错:ValueError: expected sequence of length 3573 at dim 0 (got 768)

原因:
1、纬度不一致
2、数据类型为panda.DataFrame
修改:
1、讲数据纬度改为一致
2、data=np.array(data)




以上是关于ValueError: expected sequence of length 3573 at dim 0 (got 768)的主要内容,如果未能解决你的问题,请参考以下文章