449 Commits

Author SHA1 Message Date
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
Lukas Bürgi
c4c4e60acf fixed b_command (and raise error if -x is given but invalid) 2025-01-27 12:51:38 +01:00
Lukas Bürgi
06c6c57559 fixed apply_background_color
to remove partial transparency too if the specified background color is fully solid
2025-01-27 12:19:59 +01:00
Daniel Gatis
37bbf63500
Update README.md
Some checks failed
Markdown Lint / lint (push) Failing after 31s
Test installation / test_install (3.10) (push) Failing after 32s
Lint / lint_python (push) Failing after 32s
Test installation / test_install (3.12) (push) Failing after 59s
Test installation / test_install (3.8) (push) Failing after 1m0s
Test installation / test_install (3.9) (push) Failing after 1m0s
Test installation / test_install (3.11) (push) Failing after 20m51s
2025-01-19 19:59:40 -03:00
Daniel Gatis
6ed08b6914
Merge pull request #712 from ironnicko/main
add curl to Docker image
2025-01-19 19:55:55 -03:00
ironnicko
8a5d7d5a6d add curl to Docker image 2025-01-19 10:46:18 +05:30
Daniel Gatis
262beb05ee
Update README.md
Some checks failed
Close inactive issues / close_inactive_issues (push) Failing after 33s
Markdown Lint / lint (push) Failing after 31s
Lint / lint_python (push) Failing after 31s
Test installation / test_install (3.11) (push) Failing after 31s
Test installation / test_install (3.10) (push) Failing after 33s
Test installation / test_install (3.8) (push) Failing after 59s
Test installation / test_install (3.9) (push) Failing after 59s
Test installation / test_install (3.12) (push) Failing after 30m31s
2025-01-17 12:00:18 -03:00
Daniel Gatis
b792fa5b44
Merge pull request #694 from lainedfles/disable-gradio-analytics
chore: Disable analytics in Gradio interface
v2.0.61
2024-12-10 13:17:40 -03:00
Self Denial
0dbce2da6f chore: Disable analytics in Gradio interface
This commit disables the analytics feature in the Gradio interface within the `s_command.py` file. Disabling analytics can help maintain user privacy and align with data protection policies or organizational guidelines. The change involves adding the `analytics_enabled=False` parameter to the `gr.Interface` constructor, ensuring that no usage data is collected from users interacting with the application.
2024-12-04 15:02:49 -07:00
Daniel Gatis
1101c1521c fix model url 2024-12-03 17:22:49 -03:00
Daniel Gatis
692ef5c7fb
Merge pull request #688 from OverWeo/dev
feat: add bria-rmbg model support
2024-12-03 17:21:49 -03:00
Daniel Gatis
35544226cc add python 3.13 support 2024-11-30 13:24:34 -03:00
Daniel Gatis
5435d2ffee
Merge pull request #693 from fa0311/main
Fixed bugs related to sum
2024-11-29 21:10:45 -03:00
ふぁ
9e6c46184d
update default sam_prompt structure to include point data
Signed-off-by: ふぁ <yuki@yuki0311.com>
2024-11-29 13:21:10 +09:00
ふぁ
00ad95d1c0
remove unused type imports in sam
Signed-off-by: ふぁ <yuki@yuki0311.com>
2024-11-29 13:19:33 +09:00