dlpy.image_captioning.create_captions_table¶
-
dlpy.image_captioning.
create_captions_table
(conn, captions_file, caption_col_name='Var', delimiter='\t')¶ Generate CASTable of captions and filenames
Parameters: - conn : CAS
Specifies the CAS connection object.
- captions_file : string
Specifies absolute path to file containing image filenames and captions. This file has to be accessible from the client.
- caption_col_name : string, optional
Specifies base name of columns that contain captions Default : ‘Var’
- delimiter : string, optional
Specifies delimiter in the captions_file between captions Default : ‘ ‘
Returns: - CASTable