aichess icon indicating copy to clipboard operation
aichess copied to clipboard

可能是库更新出现的小bug?分享一下

Open inportinitial opened this issue 1 year ago • 0 comments

File "D:\MyResource\transport\aichess\zip_array.py", line 51, in zip_array return np.array(zip_res) ^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (123,) + inhomogeneous part.

要在返回的地方加一个return np.array(zip_res, dtype=object)

inportinitial avatar Jun 30 '24 05:06 inportinitial