mm_action_prediction/tools/build_multimodal_inputs.py [298:305]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if isinstance(pool_input, dict):
        pool_list = sorted(pool_input, key=lambda x: pool_input[x])
    else:
        pool_list = pool_input

    tokenized_items = [tokenizer(item) for item in progressbar(pool_list)]
    max_item_len = max(len(ii) for ii in tokenized_items)
    item_tokens = np.zeros((len(tokenized_items), max_item_len)).astype("int32")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



mm_action_prediction/tools/build_multimodal_inputs.py [328:335]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if isinstance(pool_input, dict):
        pool_list = sorted(pool_input, key=lambda x: pool_input[x])
    else:
        pool_list = pool_input

    tokenized_items = [tokenizer(item) for item in progressbar(pool_list)]
    max_item_len = max(len(ii) for ii in tokenized_items)
    item_tokens = np.zeros((len(tokenized_items), max_item_len)).astype("int32")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



