IDEA-Research / Grounded-Segment-Anything

Grounded SAM: Marrying Grounding DINO with Segment Anything & Stable Diffusion & Recognize Anything - Automatically Detect , Segment and Generate Anything

Home Page:https://arxiv.org/abs/2401.14159

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to make text prompt support Non-English, like Chinese?

tangmingxing1988 opened this issue · comments

I have a problem with the text prompt, it could not be Chinese, or the result makes nonsense. I have to translate Chinse To English to make it work, and it works very well. So, is there a way to use Chinese text prompt directly?

Hello, Grounding-DINO did not support Chinese prompt, maybe you can use a translator to translate your prompt into English first

Hello, Grounding-DINO did not support Chinese prompt, maybe you can use a translator to translate your prompt into English first

Thank you. My prompt is just the category name, can you suggest a translator or dictionary for this? For example, like database for category names etc. Because ordinary translator is two slow and over-killed for this.

I end up using translator and the speed is acceptable, thanks and I will close this issue.