ViCCo-Group / thingsvision

Python package for extracting representations from state-of-the-art computer vision models
https://vicco-group.github.io/thingsvision/
MIT License
157 stars 21 forks source link

Segment Anything Model #170

Closed jonasd4 closed 6 months ago

jonasd4 commented 7 months ago

Adds the ViT models from Segmentation Anything

Open Questions:

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 94.08602% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 76.23%. Comparing base (4507cae) to head (f00fb72). Report is 7 commits behind head on master.

Files Patch % Lines
thingsvision/utils/models/sam/image_encoder.py 92.37% 2 Missing and 7 partials :warning:
thingsvision/custom_models/sam.py 95.55% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #170 +/- ## ========================================== + Coverage 74.44% 76.23% +1.79% ========================================== Files 36 39 +3 Lines 1851 2037 +186 Branches 247 261 +14 ========================================== + Hits 1378 1553 +175 - Misses 396 400 +4 - Partials 77 84 +7 ``` | [Flag](https://app.codecov.io/gh/ViCCo-Group/thingsvision/pull/170/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ViCCo-Group) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ViCCo-Group/thingsvision/pull/170/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ViCCo-Group) | `76.23% <94.08%> (+1.79%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ViCCo-Group#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.