- 😍 😍 SeFM is a novel generalist foundation model for separating anything from images.
- 😍 😍 Only a handy demonstration example is required.
- 😍 😍 Exhibiting groundbreaking generalization capability to open-world unseen visual components.
- Release inference code and demo.
- Release checkpoints.
- Release training codes.
Overall Framework of SeFM |
The model is built in PyTorch 1.8.0 and tested on Ubuntu 16.04 environment (Python3.7, CUDA9.0, cuDNN7.5).
- Clone the SeFM repository from GitHub:
git clone https://github.com/Jeasco/SeFM
cd SeFM
- Install the required dependencies and SeFM:
pip3 install -r requirements.txt
python3 -m pip install -e .
bash sefm_training.sh
-
Download the pre-trained model and place it in
./checkpoints/
-
Place the test image in
./test/
-
Run
python in_context_inference_demo.py
- Visual results will be saved in results