siyuanliii / masa

Official Implementation of CVPR24 highligt paper: Matching Anything by Segmenting Anything
https://matchinganything.github.io
Apache License 2.0
964 stars 62 forks source link

Add gitignore and move setup into pyproject.toml #17

Open EricVoll opened 3 months ago

EricVoll commented 3 months ago

The dependencies that are currently installed through the install_dependencies.sh script, can also be installed via the pyproject.toml file. The only dependency I couldn't figure out how to install properly is mmcv, since I couldn't find a way to specify the install index in the pyproject.toml file. Additionally, mmcv seems to miss torch as a build dependency, so we have to explicitly install that before installing mmcv...

I tested this setup and the new install instructions in a fresh conda environment. The demo scripts work fine.

The gitignore is from here