Skip to content
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

Error Detection with unexpected labels: [CLS]and[SEP] #331

Open
littlecay opened this issue May 10, 2024 · 0 comments
Open

Error Detection with unexpected labels: [CLS]and[SEP] #331

littlecay opened this issue May 10, 2024 · 0 comments

Comments

@littlecay
Copy link

littlecay commented May 10, 2024

I use offlinemode, and
config_file = 'D:/deeplearning/Grounded-Segment-Anything-main/GroundingDINO/groundingdino/config/GroundingDINO_SwinT_OGC.py' # change the path of the model config file
checkpoint_path = 'D:/deeplearning/Grounded-Segment-Anything-main/bert-base-uncased/groundingdino_swint_ogc.pth' # change the path of the model
image_path = 'D:/deeplearning/Grounded-Segment-Anything-main/1.jpg'
text_prompt = 'chair'
output_dir = 'D:/deeplearning/Grounded-Segment-Anything-main/output'
like this, in inference_on_a_image.py. However, the output results seems random. New labels like [CLS][SEP] apprear.
出现了很多的乱码标签[CLS][SEP]经查似乎与bert有关,且每次结果都是随机的
pred
Anyone have any ideas? Thanks

@littlecay littlecay changed the title Error Detection 目标检测错误 Error Detection with unexpected labels: [CLS]and[SEP] May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant