def parse_args():
    """ Parse CLI arguments. """
    
    parser = _get_parser()
    args = vars(parser.parse_args())
    if args['prediction'] and args['training']:
        logger.error('Select only prediction OR training.')
        raise ValueError('Select only prediction OR training.')
    return args
Parse CLI arguments.
ISR/utils/utils.py