MCPcopy Create free account
hub / github.com/CSAILVision/IBD / beam_search

Method beam_search

loader/caption_helper.py:101–180  ·  view source on GitHub ↗

Runs beam search caption generation on a single image. Args: initial_state: An initial state for the recurrent model Returns: A list of Caption sorted by descending score.

(self, rnn_input, initial_state=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateMethod · 0.95

Calls 6

pushMethod · 0.95
extractMethod · 0.95
resetMethod · 0.95
sizeMethod · 0.95
TopNClass · 0.85
CaptionClass · 0.85

Tested by

no test coverage detected