AliceMind icon indicating copy to clipboard operation
AliceMind copied to clipboard

The logprob of image captioning result of mplug is very small

Open WaikeiGum opened this issue 2 years ago • 0 comments

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.

WaikeiGum avatar Jul 07 '23 03:07 WaikeiGum