Comments (5)
because of cuda's dependencies
FROM nvidia/cuda <---------------- here!
RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-dev llvm llvm-dev
RUN pip3 install rembg
ENTRYPOINT ["rembg"]
CMD []
from rembg.
I've installed it into a container with no cuda deps. (My server has no GPU installed)
Do you need any help with it?
from rembg.
@lekoOwO can you show your Dockerfile
from rembg.
I noticed that too, using image from danielgatis/rembg:latest
.
At the same time ibebbs/u2net-http
image is 1.82GB total.
from rembg.
@lekoOwO can you show your Dockerfile
I run on a LXC Container, so I have no Dockerfile to share.
Here's the things I've installed on my Ubuntu container with no GPU:
apt install python3.8 python3.8-dev python3.8-pip python3.8-distutils llvm-10
python3.8 -m pip install torch==1.7.0 torchvision==0.8.1 -f https://download.pytorch.org/whl/cpu/torch_stable.html
python3.8 -m pip install rembg
I think this might somewhat work. Not tested.
FROM ubuntu:latest
RUN apt-get update && apt-get install -y --no-install-recommends python3.8-dev python3.8-pip python3.8-distutils llvm-10 && pip3 install torch==1.7.0 torchvision==0.8.1 -f https://download.pytorch.org/whl/cpu/torch_stable.html
RUN pip3 install rembg
ENTRYPOINT ["rembg"]
CMD []
from rembg.
Related Issues (20)
- Unable to Set Output Image Format via extras param HOT 3
- [FEATURE] ... HOT 2
- [BUG] If there is a hole in the main object of the photo and the background is visible inside it (like a ring), rembg cannot remove the bg of that part HOT 2
- [FEATURE] allow to add border HOT 2
- [FEATURE] Add --gpu 0 --gpu 1 HOT 4
- [BUG] env["CUDA_VISIBLE_DEVICES"] = "0" doesn't work HOT 2
- How do I uninstall Onnx Runtime and Rembg?
- [BUG] onnx runtime errors HOT 2
- [BUG] custom model on windows HOT 1
- [BUG] When using the API, it sometimes gets stuck and the request never completes. The terminal shows an error message when this happens. HOT 2
- [BUG] Missing dependencies from pypi HOT 2
- [BUG] This module is not using GPU at all. HOT 11
- [BUG] Sam model sessions do not respect providers argument HOT 1
- [BUG] Could not use model in custom dir on Win10 with cli command HOT 2
- [FEATURE] Use downloaded model on Cloud Function HOT 4
- Minimal dependencies? HOT 2
- EP error onnxruntime error HOT 5
- [BUG] rembg import remove, ImportError HOT 2
- [BUG] ... HOT 2
- run rembg error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rembg.