-
Notifications
You must be signed in to change notification settings - Fork 615
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
【Feature】MMDetection supports Grounding-DINO inference and fine-tuning #228
Comments
@hhaAndroid thank you very much for supporting Grounding DINO finetuning! I just have a few questions: my goal is to maintain Grounding DINO's versatility in open-set detection but just try to add a few custom classes
Many thanks! |
Maybe the text input of GroundingDINO in mmdet fixed categoly (not real text) 😥 |
This is amazing, thank you! Can those models be used with the base groundingdino implementation? the configs look quite different, so i guess not? |
Can I finetune grounding dino on a prompt? The thing is that there should be these objects in pretraining data, but I would like to add some additional information to get better predictions. Let's say I only want to detect "black cats". The problem is that I have few data samples, so I would like to tune it a little bit with prompt to use pretrained knowledge. |
hi,What are the minimum equipment requirements of fine-tunning grounddino with coco dataset?(default batch-size=32) |
Hi All:
MMDetection supports Grounding-DINO inference and fine-tuning for now. The mAP we achieved in our reproduction is higher than the official results. We also provide the results of retraining the R50 model from scratch, which exhibits significantly higher performance than the official implementation.
Installation
NOTE
Grounding DINO utilizes BERT as the language model, which requires access to https://huggingface.co/. If you encounter connection errors due to network access, you can download the required files on a computer with internet access and save them locally. Finally, modify the
lang_model_name
field in the config to the local path. Please refer to the following code:Inference
Results and Models
Details for https://github.com/open-mmlab/mmdetection/blob/dev-3.x/configs/grounding_dino/README.md
And we also support GLIP inference and fine-tuning
If you encounter any issues while using it, please feel free to create an issue.
The text was updated successfully, but these errors were encountered: