1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.99k stars 1.34k forks source link

model loading problem #153

Closed maxin-cn closed 4 years ago

maxin-cn commented 4 years ago

It occurs ''_pickle.UnpicklingError: invalid load key, '\x03' '' when loading the pre-trained model. My python version is 3.7 and pytorch version is 1.0.1. How this happens?

1adrianb commented 4 years ago

Hi @Jerome1029, I will assume something happened during the download and the model is corrupted. Can you try to remove the models and trigger a redownload ?

maxin-cn commented 4 years ago

Hi @Jerome1029, I will assume something happened during the download and the model is corrupted. Can you try to remove the models and trigger a redownload ?

Thank you for your reply. The problem has been solved. It is true that the downloaded model is corrupted。