DECA icon indicating copy to clipboard operation
DECA copied to clipboard

model.load error

Open zardamhussain opened this issue 2 years ago • 6 comments

when i run the demo this error pops up

return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/site-packages/torch/serialization.py", line 755, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.

zardamhussain avatar Feb 11 '24 19:02 zardamhussain

Same issue here.

Beniko95J avatar Feb 14 '24 07:02 Beniko95J

@Beniko95J download the model from here (https://drive.usercontent.google.com/download?id=1rp8kdyLPvErw2dTmqtjISRVvQLj6Yzje&export=download) and put the model in data folder

zardamhussain avatar Feb 15 '24 09:02 zardamhussain

I had the same issue today and your model worked @zardamhussain, thank you very much! But may I ask, where did you get it from?

ldoppertin avatar Feb 15 '24 12:02 ldoppertin

@ldoppertin can we connect on meet i'm having some trouble with dependencies

zardamhussain avatar Feb 15 '24 14:02 zardamhussain

@zardamhussain I only got it to work with the exact dependencies as descriped in the first answer of this issue: https://github.com/yfeng95/DECA/issues/124 and numpy < 1.24

ldoppertin avatar Feb 16 '24 08:02 ldoppertin

@ldoppertin do u get the mtl file not found warning

zardamhussain avatar Feb 16 '24 16:02 zardamhussain