286 points by anduc 8 months ago | 121 comments
After a couple of hours, I created this and published the source code on https://github.com/ducan-ne/remove-bg
It's still new so welcome any ideas and contributions
Powered by WebGPU and Transformer.js (RMBG V1.4 model)
Birch-san 8 months ago
> 1.1 License. > BRIA grants Customer a time-limited, non-exclusive, non-sublicensable, personal and non-transferable right and license to install, deploy and use the Foundation Model for the sole purpose of evaluating and examining the Foundation Model. > The functionality of the Foundation Model is limited. Accordingly, Customer are not permitted to utilize the Foundation Model for purposes other than the testing and evaluation thereof.
> 1.2.Restrictions. Customer may not: > 1.2.2. sell, rent, lease, sublicense, distribute or lend the Foundation Model to others, in whole or in part, or host the Foundation Model for access or use by others.
> The Foundation Model made available through Hugging Face is intended for internal evaluation purposes and/or demonstration to potential customers only.
jfoster 8 months ago
My company runs a bunch of similar web-based services and plan to do a background remover at some stage, but as far as I know there's no current models with a sufficiently permissive license that can also feasibly download & run in browsers.
sangnoir 8 months ago
jfoster 8 months ago
jaxn 8 months ago
littlestymaar 8 months ago
Everyone publishing AI model is actually acting as if they owned copyright over it and as such are sharing it with a license, but there's no legal basis for such claim at this point, it's all about pretending and hoping the law will be changed later on to make their claim valid.
NewJazz 8 months ago
Claim fair use
Release model
Claim copyright
Infinite copyright!
Mathnerd314 8 months ago
xdennis 8 months ago
You might say that the models were legally trained since no law mandates consent for AI training. But no law says that models are copyrightable either.
sva_ 8 months ago
But maybe that's just a me-problem.
Loughla 8 months ago
Old habits die hard.
And the modern Internet implicitly assumes the end user is not on a metered connection. Websites are fucking massive these days.
zamadatix 8 months ago
sva_ 8 months ago
You got me!
The model was 176 MB. Total pageload transferred 182 MB.
It doesn't seem like "Disable cache" in the DevTools empties the Cache Storage.
lynguist 8 months ago
jfoster 8 months ago
xnx 8 months ago
anduc 8 months ago
PS: WebGPU is the future
stavros 8 months ago
maven29 8 months ago
m00x 8 months ago