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

feat(back): Add new GroundingDINO model #6

Merged
merged 12 commits into from
Mar 18, 2024
Merged

Conversation

cpvannier
Copy link
Member

Issue

Fixes #5

Description

Add GroundingDINO to PixanoInference

This will allow adding new models like GroundingDINO and YOLO-World in the same module
from_dict method is defined with a general PixanoType return, add Image type hint to access the class methods
Update torch versions as required by GroundingDINO, and turn them to fixed required (~) to prevent issues
Update tensorflow versions to prevent issues with those models as well
Bounding box coordinates and confidence are already Python types and do not need to be converted from torch with Tensor.item()
@cpvannier cpvannier self-assigned this Feb 23, 2024
@cpvannier cpvannier mentioned this pull request Mar 4, 2024
@cpvannier cpvannier merged commit 7e12737 into develop Mar 18, 2024
3 checks passed
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.

Add GroundingDINO to Pixano Inference
1 participant