Comments (8)
Hi @myhz0606, thanks for your interest in YOLO-World!
Extracting nouns is easy in our work, we simply adopt the NLTK
package to do it as follows:
import string
import nltk
from nltk import word_tokenize, pos_tag
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')
def extract_noun_phrases(text):
tokens = word_tokenize(text)
tokens = [token for token in tokens if token not in string.punctuation]
tagged = pos_tag(tokens)
print(tagged)
grammar = 'NP: {<DT>?<JJ.*>*<NN.*>+}'
cp = nltk.RegexpParser(grammar)
result = cp.parse(tagged)
noun_phrases = []
for subtree in result.subtrees():
if subtree.label() == 'NP':
noun_phrases.append(' '.join(t[0] for t in subtree.leaves()))
return noun_phrases
from yolo-world.
Hi @lxfater, generally, this will not have an impact, unless there are some similar categories or hard-to-distinguish categories among the 5000 words.
from yolo-world.
If I have to input a large number of detection categories (1000), will this affect performance? @wondervictor
from yolo-world.
Hi @lxfater, it will not affect and YOLO-World is born for custom vocabularies without re-training.
from yolo-world.
If I feed 5,000 words into the model as categories and ask it to recognize any image, does that cause a performance problem compared to feed the categories that only appear in the image? I'm a novice in this field @wondervictor
from yolo-world.
Thanks for your interest. If you have any questions about YOLO-World in the future, you're welcome to open a new issue.
from yolo-world.
Can yolo world train its own dataset from scratch in the industrial domain?
from yolo-world.
Hi @tuotalimiaomiao, sure. But I strongly suggest you use the pre-trained weights to initialize, which is very useful.
from yolo-world.
Related Issues (20)
- 测试结果惨不忍睹 HOT 17
- Thanks for your work,excellent! some question about yolo-world finetune freeze, glip Pseudo label and prompt. HOT 1
- the question about image_demo HOT 2
- I would like to ask how it uses YOLOv8 as the backbone in his code, and specifically in which Python file the forward computation for the backbone is performed? HOT 1
- yoloworld模型能否在Flickr30K Entities数据集上评估他的Phrase Grounding能力?就像GLIP模型那样 HOT 1
- About Pretrain Data's url.
- Question about onze-shot inference with image prompts HOT 1
- CC3M pretrain data HOT 4
- Abount CC3M Pseudo Annotations use HOT 2
- How to use zero-shot ability on Reparameterized YOLO-World?
- 微调结果上V2和V1差别很大 HOT 2
- 求救!求救!求救!求救!求救!!!!!!!如何获得推理之后的置信度,bbox坐标,类别信息 HOT 1
- ERROR [internal] load metadata for docker.io/nvidia/cuda:11.8.0-devel-ubuntu22.04
- 可以请教一下详细的环境配置流程,救救我 HOT 1
- Reparameterization need finetuning? HOT 1
- RuntimeError: CUDA error: CUDA-capable device(s) is/are busy or unavailable
- Number of Detected Bounding Boxes and Filtering Based on "score_thr", "nms_pre" and "topk" HOT 2
- Is there any difference between various ways to instantiate the model?
- 【求助】【急】基于独立数据集训练时,bbox_loss始终是0,模型无法预估 HOT 3
- Detection based on exemplary image
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 yolo-world.