DAVAR-Lab-OCR icon indicating copy to clipboard operation
DAVAR-Lab-OCR copied to clipboard

Question about the code in DLD

Open csguoh opened this issue 3 years ago • 0 comments

Hi authors,

Thanks for your ownsome work of Dynamic Low-Resolution Distillation for Cost-Efficient End-to-End Text Spotting.

I have a question about the implementation about beam search. It seems that the function beam_decode receive the softmax results on teacher logits, which means it is a probability not the log probability. However, in this and this line, it seems that you have incorrectly treat the probability as log probability (although the name is logp...). I think multiply operator should be used instead of the add operator.

Best.

csguoh avatar Mar 20 '23 14:03 csguoh