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:
- Python TypeError: return arrays must be of ArrayType
- Numpy error: oserror: failed to interpret file as a pickle
- ValueError: num_samples should be a positive integer value, but got num_samp=0
- After the new video card rtx3060 arrives, configure tensorflow and run “TF. Test. Is”_ gpu_ The solution of “available ()” output false
- Error: the main class usertest could not be found or loaded
- The main class could not be found or loaded when springboot started
- The main class com.hp.springbootapplication cannot be found or loaded
- Idea startup project: main class not found or cannot be loaded
- Solve the problem that the header file of “graphics. H” cannot be loaded in vs2015
- File C:\Users\admin\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts
- R load(xxx.Rdata) Error bad restore file magic number (file may be corrupted) — no data loaded
- Valueerror: the solution of invalid PI name ‘B’ XML ‘
- When react dynamically prunes components by operating arrays, the state of the remaining components is not preserved. Solution to the problem (method of dynamically setting unique key value)
- ValueError: check_ hostname requires server_ The solution record of the host name
- Some problems in using arrays
- torch.cuda.is_ Available() returns false
- The media could not be loaded, either because the server or network failed or because the format is
- Python error: resource u’tokenizers / Punkt/ english.pickle ‘ not found.
- Error in loading online pictures on billboard in cesium tainted canvas may not be loaded
- Solution: vs currently does not hit the breakpoint and has not loaded any symbols for the document