↓ 3 callersMethodget_base_encoded(
self,
image=None,
text_tokens=None,
train=False,
random_drop_image=False,
scenic/projects/knowledge_visual_language/models/fusion_in_decoder_soft.py:100
↓ 3 callersMethodget_lossCompute the objective of the model (see Equation 8 of the paper). Args: dists: Array of shape [N, 2, R, R, H', W'] with samples of the two
scenic/projects/boundary_attention/field_of_junctions_jax/field_of_junctions.py:589
↓ 3 callersFunctionstack_forestTransposes a list of dicts to dict of lists. For example, given [{'a':1,'b':2}, {'a':3,'b':4}], the output is: {'a': ([1, 3]), 'b': ([2, 4]
scenic/train_lib/train_utils.py:777