a-PyTorch-Tutorial-to-Image-Captioning icon indicating copy to clipboard operation
a-PyTorch-Tutorial-to-Image-Captioning copied to clipboard

Pad token

Open AyeshaSarwar opened this issue 1 year ago • 0 comments

can you explain how you handle the pad token since in batches, we have to pad caption so that all have the same length then we feed that padded caption into the LSTM right? then how and where did you ignore the pad token kindly if anyone explains thanks

AyeshaSarwar avatar Oct 20 '24 17:10 AyeshaSarwar