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

_pickle.UnpicklingError: invalid load key, 'v'. #1

Open
KingWangJL opened this issue Jan 4, 2022 · 1 comment
Open

_pickle.UnpicklingError: invalid load key, 'v'. #1

KingWangJL opened this issue Jan 4, 2022 · 1 comment

Comments

@KingWangJL
Copy link

Thank you for your work. When I tried to use U-2-Net, the following error occurred with the pre-trained model you provided。
_pickle.UnpicklingError: invalid load key, 'v'.

@Norod
Copy link
Owner

Norod commented Jan 4, 2022

Heya,
Make sure you have git lfs installed and configured, so the actual model files will be downloaded rather than just a reference pointer to their location

Edit: If you do not wish to use lfs, you can download the u2net model and save it to the saved_models folder by browsing to this link and clicking "download". The u2netp model can be manually downloaded saved_models folder by browsing and clicking "download" in this link

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

2 participants