def main(): config, filepaths = get_configuration( 'train', description='Train model for generating image descriptions.') train_model(config, filepaths)
def main(): config, filepaths = get_configuration( 'predict', description='Predict image descriptions for train or validation set.') predict_image_descriptions(config, filepaths)
def main(): description = 'Generate indices vectors that represent image descriptions' config, filepaths = get_configuration('preprocess', description=description) preprocess_descriptions(config, filepaths)
def main(): config, filepaths = get_configuration( 'statistics', description='Statistics and info about dataset and neural models.') show_info_and_statistics(config, filepaths)
def main(): config, filepaths = get_configuration( 'report', description='Plots of losses and evaluation metrics.') report(config, filepaths)