Matte-Anything
Matte-Anything copied to clipboard
Missing install details
Hi--I tried to install on Linux per your instructions. I have a conda venv created for this.
I ran
pip install git+https://github.com/facebookresearch/segment-anything.git
it reported
Successfully installed segment-anything-1.0
I then ran
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git
'```
it reported
Successfully installed antlr4-python3-runtime-4.9.3 detectron2-0.6 fvcore-0.1.5.post20221221 hydra-core-1.3.2 iopath-0.1.9 omegaconf-2.3.0 portalocker-2.7.0 pycocotools-2.0.6 tabulate-0.9.0 yacs-0.1.8
However, there was no requirements.txt file created in the current directory, so this failed:
pip install -r requirements.txt
the next instruction requests to cd into Matte-Anything; however, there was no such directory created, so I created it
I then ran
```cd Matte-Anything
git clone https://github.com/IDEA-Research/GroundingDINO.git
that created the GroundingDINO folder
I then ran
cd GroundingDINO
pip install -e .
it reported
Successfully installed addict-2.4.0 fsspec-2023.6.0 groundingdino-0.1.0 huggingface-hub-0.15.1 opencv-python-4.7.0.72 regex-2023.6.3 safetensors-0.3.1 supervision-0.6.0 timm-0.9.2 tokenizers-0.13.3 torchvision-0.15.2 transformers-4.30.2
On the next step, it says to put the pretrained models in ./pretrained, but it's unclear if that is supposed to be a subfolder of GroundingDINO or of Matte-Anything
at the end of if, there is no matte_anything.py so nothing runs so far
What did I miss?
Your directory should be look like:
Matte-Anything
├── ...
├── matte_anything.py
├── GroundingDINO
├── pretrained
├── groundingdino_swint_ogc.pth
├── sam_vit_h_4b8939.pth
├── ViTMatte_B_DIS.pth
Thanks for your reminder, we will update our README.md.
Well, you need to first git clone this repo (Matte-Anything), cd into it and then follow the setup/install.
Will confirm and close once I try it.