Closed ztzhang closed 5 years ago
The metadata is a python list of lists of texts and numpy arrays. Saving using npy/npz might cause problems.
would you mind adding a numpy version number in readme then? Also if there are texts, it would be great if you could share the default encoding for your python environment. Thanks!
numpy version 1.16.4 default encoding utf-8
Hi, I'm using python 3.7.3 with numpy 1.16.4 and is experiencing the following error when loading meta data: `` metadata = pickle.load(open('metadata.pkl', "rb"))
Traceback (most recent call last): File " stdin ", line 1, in module _pickle.UnpicklingError: invalid load key, '\x0a'. `` I guess this might be an encoding mismatch ('ASCII' by default) or a numpy version mismatch. Would it be possible for you to share a npy/npz version of the metadata.pkl? Thanks!