U-2-Net-StyleTransfer icon indicating copy to clipboard operation
U-2-Net-StyleTransfer copied to clipboard

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

Open KingWangJL opened this issue 3 years ago • 1 comments

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

KingWangJL avatar Jan 04 '22 07:01 KingWangJL

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

Norod avatar Jan 04 '22 08:01 Norod