Closed pachacamac closed 2 years ago
This is actually related to the u2net libraries I'm pulling, I opended an issue to see if I can host them myself, https://github.com/xuebinqin/U-2-Net/issues/236
@pachacamac I went ahead and refactored and changed the import library process to gdown, https://github.com/nadermx/backgroundremover/commit/540f2af8cf87f92c10e01ed910028d2142e820f3 Upgrade to the newest version and it should be fixed.
Pickle is not the best choice for storing data like this. The problem is that pickle differs between Python versions. With Python 3.9 I'm getting this for example:
See here and here for more in depths explanations.
I have not tried those myself but it might be worth looking into cPickle or Joblib as an alternative. Not sure if they have the same issues.