GithubHelp home page GithubHelp logo

Comments (5)

danielgatis avatar danielgatis commented on August 18, 2024

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.

lekoOwO avatar lekoOwO commented on August 18, 2024

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.

ooing avatar ooing commented on August 18, 2024

@lekoOwO can you show your Dockerfile

from rembg.

a-stankevich avatar a-stankevich commented on August 18, 2024

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 avatar lekoOwO commented on August 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.