speech-driven-animation icon indicating copy to clipboard operation
speech-driven-animation copied to clipboard

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

Open ixNeo opened this issue 4 years ago • 3 comments

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'.

ixNeo avatar Aug 22 '20 14:08 ixNeo

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

YTMartian avatar Aug 25 '20 08:08 YTMartian

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.

A-q-p-W avatar Sep 09 '20 17:09 A-q-p-W

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

NelsonScott avatar Nov 23 '22 01:11 NelsonScott