- Python installed on machines.
- GPU access to the computer.
- Atleast 12 GB of GPU memory.
- Preferably a 4 core CPU machine.
- A Linux/Ubuntu Operating system.
- Clone this repository using
git clone https://github.com/preethamcoder/Cloth-Face-BG-Swap.git - Install dependencies by running
.\setup.sh - The Segment Anything Model will be downloaded.
- Then, you may run
app.pyusingpython3 app.pyorpython app.py, depending on your system. - The product must be fully functional now.