dlpy.image_captioning.reshape_caption_columns

dlpy.image_captioning.reshape_caption_columns(conn, table, caption_col_name='Var', num_captions=5)

Reshapes table so there is only one caption per row of the table

Parameters:
conn : CAS

Specifies the CAS connection object.

table : CASTable or string

Specifies name of CASTable containing the merged captions, features, and objects

caption_col_name : string, optional

Specifies basename of columns that contain captions Default : ‘Var’

num_captions : int, optional

Specifies number of captions per image Default : 5

Returns:
CASTable