Comments (3)
The fixed text encoder is used to encode tags separately into textual label queries with semantic information, enable inference generalization to categories that have not been seen in training stage. For example, during training, the model only trains the tag of 'dog'. Due to the similarity of the textual label embedding between 'puppy' and 'dog', inference can be generalized to the tag of 'puppy'.
from recognize-anything.
Thank you for answer!
Does the list of tags entered as the input of CLIP Text Encoder in the figure mean the tags extracted from the training data (text)?
from recognize-anything.
Please refer to the code in recognize-anything/models/openset_utils.py build_openset_label_embedding().
from recognize-anything.
Related Issues (20)
- available images for trained data HOT 2
- 是否有训练tiny版本的RAM++可以开源使用呢,现有模型如果太大,如果只有tagging的能力,对比多模态大模型的理解优势是不是不明显 HOT 2
- Tags categories HOT 1
- Number of tags and class_num is different by 1 HOT 2
- Visualization Map RAM
- 请问如何使用预训练模型进行微调,增加了一个类别 HOT 1
- Concat label embed RAM++ HOT 5
- [bug] finetune.py: ram and ram_plus not matched devices
- [Illustration] How to draw a radar chart like the one in the RAM paper? HOT 2
- sbu和cc3m的数据集照片怎么下载呀? HOT 3
- Docker image / FastAPI wrapper HOT 1
- Effect commit b85a8770a8c75bd7a508e97a328ebea7444917b7 HOT 1
- Utilize SoViT-400m/14 image encoder HOT 1
- The pre-trained checkpoint HOT 1
- pre_caption function
- 4M version checkpoint HOT 1
- Can i inference RAM to output text? HOT 2
- RuntimeError: checkpoint url or path is invalid
- 一个tag对应tag_chinese多个标签,如"table"==“桌子/表格”,如何过滤标签 HOT 6
- Error while running inference_ram_plus.py
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 recognize-anything.