auspicious3000 / autovc

AutoVC: Zero-Shot Voice Style Transfer with Only Autoencoder Loss
https://arxiv.org/abs/1905.05879
MIT License
996 stars 207 forks source link

pickle error? #8

Closed ztzhang closed 5 years ago

ztzhang commented 5 years ago

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!

auspicious3000 commented 5 years ago

The metadata is a python list of lists of texts and numpy arrays. Saving using npy/npz might cause problems.

ztzhang commented 5 years ago

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!

auspicious3000 commented 5 years ago

numpy version 1.16.4 default encoding utf-8