463 Commits

Author SHA1 Message Date
Daniel Gatis
bc1436cad8
Update CITATION.cff 2025-05-17 18:48:36 -03:00
Daniel Gatis
d6ac01f9f9
Merge pull request #757 from Yahweasel/main v2.0.66 2025-05-14 08:39:31 -03:00
Daniel Gatis
3b6bf90fc1
Merge pull request #756 from Ayusman-Singhal/main 2025-05-14 08:36:59 -03:00
Yahweasel
ac0fa9abb3 Fix (and document) support for ROCM backend 2025-05-13 08:15:52 -04:00
Arhenniuss
34a5e6484d
Update README.md
Added Google Colab Link to directly open the Rembg in Google Colab.
2025-05-13 14:54:21 +05:30
Arhenniuss
4f10c9115d
Added the Ipynb file for Google Colab. 2025-05-13 14:43:56 +05:30
Daniel Gatis
c817f5381c fix linter issues 2025-05-11 11:03:47 -03:00
Daniel Gatis
c713191c36 fix linter issues 2025-05-11 11:00:40 -03:00
Daniel Gatis
dbffeff61d
Merge pull request #755 from divinity76/patch-2 2025-05-11 10:38:09 -03:00
divinity76
58e10239c5
throw on bogus model name
Previously if a bogus model name was provided,
it would silently ignore the error and load u2net.

It still default to u2net when no model name is given, but throw if a bogus model name is given.
2025-05-06 19:54:33 +02:00
Daniel Gatis
53e711f075
Merge pull request #753 from PENGUINLIONG/patch-1
Avoid overflow casting to uint8
2025-04-25 08:49:49 -03:00
PENGUINLIONG
112e76d3cd
Update base.py 2025-04-24 09:01:18 +08:00
PENGUINLIONG
fdedf86e56
Avoid overflow casting to uint8 2025-04-24 08:57:48 +08:00
Daniel Gatis
9c574fd094
Merge pull request #746 from catscarlet/main
Follow the changes of model downloading #742
2025-03-26 00:18:15 -03:00
catscarlet
602c68dd46 Follow the changes of model downloading #742 2025-03-26 01:01:08 +08:00
Daniel Gatis
860b39d000
Merge pull request #742 from pgr0ss/default-download-only-u2net
Only download u2net model in docker image
v2.0.65
2025-03-15 20:28:19 -03:00
Daniel Gatis
0ab8cc430d
Merge pull request #743 from pgr0ss/remove-arm64-image
Stop publishing arm64 image
2025-03-15 20:27:28 -03:00
Paul Gross
d7ab66ba39 Stop publishing arm64 image
The arm64 docker image is much slower to build and download models. With
the addition of the extra models, it's now too big to build and push in
Github actions (times out after several hours).

This change removes the arm64 image in favor of just the amd64 image,
which only takes about 9 minutes to build and push.

More discussion at: https://github.com/danielgatis/rembg/discussions/735
2025-03-13 12:40:11 -07:00
Paul Gross
4d24dded16 Only download u2net model in docker image
With the addition of the extra models, the docker image is huge (> 17 GB)
and too big to build and push in GitHub actions, especially for `arm64`
(which is slower to build than `amd64`). This change makes it so the `d`
command can take a list of models to download, and the Dockerfile only
downloads the default `u2net` model. This shrinks the docker image to
about 3 GB.

More discussion at: https://github.com/danielgatis/rembg/discussions/735
2025-03-13 12:34:20 -07:00
Daniel Gatis
b144cbc7cf
Merge pull request #740 from ari-party/patch-1
link directly to onnx installation matrix page
2025-03-10 15:23:46 -04:00
ari
fed44ea2dc
link directly to onnx installation matrix page 2025-03-10 19:37:26 +01:00
Daniel Gatis
7422fd7706
Merge pull request #737 from pgr0ss/fix-readme
Fix small grammar issues in README
2025-03-06 22:31:51 -05:00
Paul Gross
0f7beb280e
Fix small grammar issues in README 2025-03-06 08:23:58 -08:00
Daniel Gatis
ba79000626
Merge pull request #732 from catscarlet/main
Add Docker Nvidia CUDA Hardware Acceleration.
v2.0.64
2025-03-05 20:26:38 -05:00
catscarlet
7668b97d54 Docker Nvidia CUDA Hardware Acceleration information. 2025-03-05 16:53:17 +08:00
catscarlet
6b4f7fcf95 Add Docker Nvidia CUDA Hardware Acceleration 2025-03-05 16:53:17 +08:00
Daniel Gatis
66ffce4894 fix linter issues 2025-03-04 22:45:00 -05:00
Daniel Gatis
29d8e28c04
Merge pull request #728 from catscarlet/main
Fix "Always using CPU, ingore GPU" issue, caused by onnxruntime's strange behavor
2025-03-04 22:26:52 -05:00
Daniel Gatis
7536338641
Merge pull request #730 from serg123e/fix-dis-normalization
fix IS-Net normalization values
2025-03-04 21:29:49 -05:00
Daniel Gatis
97453e26c5
Merge pull request #729 from abhishek47kashyap/main
Citing repository
2025-03-04 21:28:02 -05:00
Sergey Evstegneiev
451c10d7dd fix DIS normalization values 2025-03-01 02:48:29 +01:00
catscarlet
1b37f6d3a4 Add info about docker support 2025-02-28 17:12:24 +08:00
catscarlet
adfe3a06c6 Update info about gpu acceleration issue. 2025-02-28 17:08:34 +08:00
catscarlet
aa6fb76e0f ensure CUDAExecutionProvider is called in session when using nvidia gpu. 2025-02-28 17:06:42 +08:00
Abhishek Kashyap
1cab14efda
for bibtex generation
see https://academia.stackexchange.com/a/172780/142490
2025-02-23 18:23:18 +01:00
Daniel Gatis
9079508935
Merge pull request #725 from danielgatis/remove-explicity-providers
refactor: remove unused providers parameter from session constructors
v2.0.63
2025-02-21 10:20:48 -03:00
Daniel Gatis
172404b019 refactor: remove unused providers parameter from session constructors 2025-02-20 09:45:17 -03:00
Daniel Gatis
30450d5afb
Update README.md 2025-02-13 10:59:43 -03:00
Daniel Gatis
6b013d4570
Merge pull request #721 from kocabiyik/withoutbg-sponsorship
withoutbg.com is becoming a sponsor 🏆
2025-02-06 22:35:49 -03:00
Imran on Mac
996e32ecd4 withoutbg.com is becoming a sponsor 🏆 2025-02-06 23:38:34 +01:00
Daniel Gatis
9d5f63d25f fix linters v2.0.62 2025-01-30 14:51:47 -03:00
Daniel Gatis
e1537eeea9
Merge pull request #715 from lukas-buergi/fix_b
fixed b_command
2025-01-30 12:57:40 -03:00
Daniel Gatis
48acb2d970
Merge pull request #692 from danielgatis/python13
add python 3.13 support
2025-01-30 12:56:28 -03:00
Daniel Gatis
4b423ef3ce empty-commit 2025-01-30 12:30:08 -03:00
Daniel Gatis
a34d440fca
Merge pull request #719 from calledit/revert-718-patch-1
Revert "rembg b - return a stream of RGB24 instead of a mess of consecutive pngs"
2025-01-30 11:29:03 -03:00
calledit
b9634aaf7e
Revert "rembg b - return a stream of RGB24 instead of a mess of consecutive pngs" 2025-01-30 13:54:16 +01:00
Daniel Gatis
1f98d03b95
Merge pull request #718 from calledit/patch-1
rembg b - return a stream of RGB24 instead of a mess of consecutive pngs
2025-01-30 09:32:07 -03:00
Daniel Gatis
519d3e2c88
Merge pull request #717 from lukas-buergi/fix_transparency
fixed apply_background_color leaving partial transparency when it shouldn't
2025-01-30 09:26:28 -03:00
Daniel Gatis
b45630d6d9 removed lint markdown 2025-01-30 09:23:56 -03:00
calledit
dbf1c17610
Return a stream of RGB24 instead of a garbled mess of consecutive pngs 2025-01-29 12:27:24 +01:00