0.背景
复现论文Motionet时bug:np.array时报错:setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (236,) + inhomogeneous part.
1.原因
numpy版本太高和老版本不兼容
2.解决
方法一:np.array(list, dtype=object)
方法二:numpy降版本
3.结论
简单bug,有可能的话还是完全照搬要复现论文的所有环境,不然后患无穷