-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
A shallow copy in groundingdino #37333
Comments
Hi @fushh I don't understand the bug from this description. Can you explain? |
In original implementation, each However, when
Only by switching to deep copy can the llmdet model be supported. Further, it would be grateful if you can help us integrate LLMDet into transformers. |
cc @qubvel @NielsRogge for GroundingDINO! |
Hey @fushh, according to configs we actually never have
path activated, so it's probably better to remove this from GrouningDINO at all and redefine it in llmdet from scratch, what do you think? |
I think fixing this bug would be a better choice because other users might prefer to make changes or fine-tune on groundingdino. |
Sure, we can fix it here as well. However, we prefer to simplify the modeling code by removing unused parts in already-pretrained checkpoints 🤗 |
System Info
A bug in source code
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
please see
transformers/src/transformers/models/grounding_dino/modeling_grounding_dino.py
Lines 2529 to 2534 in d1b9236
Expected behavior
a deep copy
The text was updated successfully, but these errors were encountered: