Skip to content
프로젝트

소개

10개의 오픈 소스 rmbg 모델을 사용하는 FOSS 이미지 배경 제거 도구

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

BGBye

Installation

Prerequisites

  • Latest Node.js and npm
  • python3 and python3-pip
  • Windows users must use Windows Subsystem for Linux (WSL)
  • Concurrently (optional): for running both server and client at once. npm i concurrently -g

Steps

  1. Clone the repository:

    git clone https://github.com/MangoLion/bgbye
    cd bgbye
    
  2. Install dependencies:

    npm install
    
  3. Set up the server:

    npm run setup-server
    

    Make sure to restart your terminal after!

AMD GPU

Goto ./server/setp.sh and replace the index url with --index-url https://download.pytorch.org/whl/rocm6.0

Do this before calling npm run setup-server

Diagnosis

  • NPM takes forever to install? (WSL)
    • You probably didn't install npm on WSL, so its using npm on windows. Install npm on WSL first.
  • Internal server error 500 whenever submit an image/video
    • Could be CUDA issues, make sure your cuda GPU is visible (nvidia-smi)?
  • Internal server error 500 whenever submit a video, but image works
    • Check if ffmpeg is installed

Running the App

To start both the web app and server, run:

npm start

Moar notes

I'm so sorry this is using the long dead create-react-app template! Was setting up Cloudflare Pages for the first time and their tutorial installed CRA 💀

I'll move this stuff to Vite later

관련 프로젝트 살펴보기

불러오는 중…