Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem: torch.load & pickle. help!!! #51

Open
ixNeo opened this issue Aug 22, 2020 · 3 comments
Open

problem: torch.load & pickle. help!!! #51

ixNeo opened this issue Aug 22, 2020 · 3 comments

Comments

@ixNeo
Copy link

ixNeo commented Aug 22, 2020

Traceback (most recent call last):
File "/Users/coolinear/Desktop/pyproj/speech-driven-animation-master/mess.py", line 2, in
va = sda.VideoAnimator(gpu=-1)# Instantiate the animator
File "/Users/coolinear/Desktop/pyproj/speech-driven-animation-master/sda/sda.py", line 106, in init
model_dict = torch.load(model_path, map_location=lambda storage, loc: storage)
File "/Users/coolinear/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 426, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
File "/Users/coolinear/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 603, in _load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

@YTMartian
Copy link

download model from README, here: https://drive.google.com/open?id=1pJdsnknLmMLvA8RQIAV3AQH8vU0FeK16

@A-q-p-W
Copy link

A-q-p-W commented Sep 9, 2020

download model from README, here: https://drive.google.com/open?id=1pJdsnknLmMLvA8RQIAV3AQH8vU0FeK16

And make sure you put the models in the sda\data folder where there are existing empty placeholder .dat files.

@NelsonScott
Copy link

Think the new location is here https://drive.google.com/drive/folders/17Dc2keVoNSrlrOdLL3kXdM8wjb20zkbF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants