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
connCAS

Specifies the CAS connection object.

tableCASTable or string

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

caption_col_namestring, optional

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

num_captionsint, optional

Specifies number of captions per image Default : 5

Returns
CASTable