Comments (3)
The reason for this situation is that the BERT tokenizer's vocabulary does not contain your label vocabulary, so BERT splits it into smaller subwords. In the official code, if you don't provide the ‘’token_spans‘’ parameter, it will directly match the label with all text tokens and output results in line 112 . You can consider using the ‘’token_spans‘’ parameter or follow our code's post-processing approach to treat the label as a whole and generate pos_maps in line 685.
from open-groundingdino.
Which inference function are you using? The appearance of this question seems to be due to BERT tokenization, which divides your text into smaller segments
from open-groundingdino.
I am following the suggestions in #17 and using the predict function from the official grounding dino implementation.
from open-groundingdino.
Related Issues (20)
- Question about ODVGdataset
- Results on COCO HOT 1
- Referring expression comprehension TASK?
- Issue in Setup of the code
- Inference device problem
- 训练过程中有关bbox的报错
- is bbox annotation required?
- 在object365数据集上训练处理text prompt 太长的问题 HOT 2
- BERT HOT 1
- 我应该怎么训练自己的数据集 HOT 1
- 如何从头开始预训练模型 HOT 1
- 碰到一个非常头疼的问题,根据odvg的数据集格式自制了一个数据集,一万多张图,配置好了可以进行训练,但是训练过程中一直没有精度,特别低总是0.00几,跑了几十个epoch也是这样,谁有碰到类似的情况吗?球球了,帮帮忙,跪谢跪谢! HOT 2
- I need to share multiple GPUs on a server with my colleagues, so how do I specify which GPUs to use for training when I am using them? HOT 1
- torch.cuda.OutOfMemoryError: CUDA out of memory
- I try to get AP per class. And I have 14 categories, Why does it output only 12 category AP? HOT 1
- VG数据集格式 HOT 1
- 模型训练结果后标签识别错误
- Training models on custom data sets, some questions!
- 验证部分的代码是不是有问题?我的验证集mAP全部显示为-1 HOT 1
- CUDA out of memory in the middle of fine tuning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-groundingdino.