xuebinqin / U-2-Net

The code for our newly accepted paper in Pattern Recognition 2020: "U^2-Net: Going Deeper with Nested U-Structure for Salient Object Detection."
Apache License 2.0
8.3k stars 1.43k forks source link

Question about models #236

Open nadermx opened 2 years ago

nadermx commented 2 years ago

Hey, thanks for making this awesome project, I built a tool that uses it, among some of the other tools you referenced to make something that removes background from video with the option to overlay it over another video, image, etc. https://github.com/nadermx/backgroundremover

Now my issue is that I'm using the u2net model in the package you suggest in your readme https://github.com/nadermx/backgroundremover/blob/main/src/backgroundremover/u2net/detect.py#L79 in the package. But sometimes people who use the package, get rate limited in trying to download them.

Do you offer an alternative, or could I offer to host them on one of my servers?

nadermx commented 2 years ago

switched to gdown and it seems to be working fine with better error messaging, https://github.com/nadermx/backgroundremover/issues/2 thanks again

nadermx commented 2 years ago

Hi, since some users can't access Google, and you don't have the u2net_human on baidu. I've gone ahead and put both here till I hear back from you, https://video.backgroundremover.app/static/u2net/u2net.pth https://video.backgroundremover.app/static/u2net/u2net_human_seg.pth I can upload and host the others if you wish as well.