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

The logprob of image captioning result of mplug is very small #87

Open
Wykay opened this issue Jul 7, 2023 · 0 comments
Open

The logprob of image captioning result of mplug is very small #87

Wykay opened this issue Jul 7, 2023 · 0 comments

Comments

@Wykay
Copy link

Wykay commented Jul 7, 2023

Hello, I am using mplug to do image captioning task.

At inference, I use beam search to generate results, and I find that the topk_probs from beam_generator.translate_batch_scst() is very small(like 0.0014 after exp()), indicating that the confidence score of caption is very small, could you tell me if I am using the wrong output as confidence score of the caption, or why this confidence number is such small? Thx a lot!

I follow this to write the code of inference.

@Wykay Wykay changed the title The logprob of image captioning result of mplugv2 is very small The logprob of image captioning result of mplug is very small Jul 7, 2023
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