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

Method __init__

loader/caption_helper.py:74–99  ·  view source on GitHub ↗

Initializes the generator. Args: model: recurrent model, with inputs: (input, state) and outputs len(vocab) values beam_size: Beam size to use when generating captions. max_caption_length: The maximum caption length before stopping the search. length_

(self,
                 embedder,
                 rnn,
                 classifier,
                 eos_id,
                 beam_size=1,
                 max_caption_length=20,
                 length_normalization_factor=0.0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected