Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embeding extraction testing #9

Merged
merged 18 commits into from
Jul 17, 2024
Merged

Conversation

veegalinova
Copy link
Contributor

@veegalinova veegalinova commented Jul 10, 2024

  • Add test for embedding extraction for Mobile SAM and Dino
    To make tests faster, the model call is simulated by directly returning the embedded output with the expected shape

  • Move the embedding logic out from the widget code

  • Delete old tests

  • Add GPU resource cleanup after embedding extraction is finished

  • Fix the stop button bug when hanging for large images

  • Hide model device into model adapters to simplify function calls

  • Fix warnings

@veegalinova veegalinova merged commit a590a0c into main Jul 17, 2024
4 checks passed
@veegalinova veegalinova deleted the vg/feat/test_embedding_extraction branch July 17, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants