FrancescoSaverioZuppichini / glasses

High-quality Neural Networks for Computer Vision 😎
https://francescosaveriozuppichini.github.io/glasses-webapp/
MIT License
437 stars 37 forks source link

Error when loading models #257

Closed FrancescoSaverioZuppichini closed 3 years ago

FrancescoSaverioZuppichini commented 3 years ago

Describe the bug When loading some models, I get the following error

UnpicklingError: invalid load key, '\x0a'.

To Reproduce Steps to reproduce the behavior:

model = AutoModel.from_pretrained("regnetx_008")

Expected behavior It should work

Additional context Probably caused by the new torch version 1.19

FrancescoSaverioZuppichini commented 3 years ago

fixed by updating to the latest version!