siyuanliii / masa

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

Add support for Colab #27

Open rolson24 opened 4 months ago

rolson24 commented 4 months ago

Change pyproject.toml file to support python 3.10.12 and fix seaborn typo.

rolson24 commented 3 months ago

Just because colab by default used 3.10.12. You can upgrade the python version in colab, but I think it would be cleaner to support more python versions. I have not done a comprehensive test whether 3.10.12 breaks anything, but in my tests Grounding-Dino and R50 seem to work fine with 3.10.12.

As for the pyproject changes, If we have less strict dependancies, then setup-tools has an easier time finding the correct mmcv and mmdet versions for the current install without requiring to compile mmcv from source.