data_process模块运行有误
zhangliang-chn opened this issue · 1 comments
zhangliang-chn commented
np.savez_compressed API在运行时会提示ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10748,) + inhomogeneous part.
因为numpy列表不允许其元素为变长列表,我试过几次都无法正确执行将json转为.npz文件,都会提示这个错误
JieShenAI commented
pip install numpy==1.21.0