Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MangoLion/bgbye
webclient for the BGBye background removal web app
https://github.com/MangoLion/bgbye
Last synced: 11 days ago
JSON representation
webclient for the BGBye background removal web app
- Host: GitHub
- URL: https://github.com/MangoLion/bgbye
- Owner: MangoLion
- Created: 2024-07-06T21:19:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T19:26:16.000Z (7 months ago)
- Last Synced: 2024-07-13T01:33:40.138Z (7 months ago)
- Language: JavaScript
- Size: 29.9 MB
- Stars: 99
- Watchers: 2
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - MangoLion/bgbye - FOSS Image background remover with 10 open source rmbg models (JavaScript)
README
# 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