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