rembg
rembg copied to clipboard
[BUG] Model download from Google Drive is grabbing the Google warning message
On running rembg I get this error
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '<'.
This is because the model file downloaded is a HTML warning page from Google Drive
Google Drive can't scan this file for viruses. (168M) is too large for Google to scan for viruses. Would you still like to download this file?
Im not sure if/how to automatically confirm so for now the model needed to be manually downloaded and placed in /Users/[USERNAME]/.u2net
https://docs.google.com/uc?export=download&id=1ao1ovG1Qtx4b7EoskHXmi2E9rp5CHLcZ
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.