ValueError: Object arrays cannot be loaded when allow_ Pickle = false solution

When numpy is used to load a large amount of binary data, such as. NPY file and. Pkl file, the default allow is set_ Pickle = false will cause the error and find the corresponding np.load (path)

np.load(path, allow_pickle=True)

Or reduce numpy to below 1.16:

pip install numpy==1.15.0 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

It can be solved.

Read More: