Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data_process模块运行有误 #22

Open
zhangliang-chn opened this issue Nov 16, 2023 · 1 comment
Open

data_process模块运行有误 #22

zhangliang-chn opened this issue Nov 16, 2023 · 1 comment

Comments

@zhangliang-chn
Copy link

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
Copy link

pip install numpy==1.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants