def download(info: Info):
    challenge = current_challenge(info)
    baselines = challenge.list_baselines()
    for idx, baseline in enumerate(baselines):
        click.echo('[%d] %s' % (idx + 1, baseline['name']))
    value = click.prompt(
        'Please enter the number for the baseline you want to download',
        type=int)
    challenge.clone_baseline(baselines[value - 1])
Beispiel #2
0
def download(info: Info):
    challenge = current_challenge(info)
    baselines = challenge.list_baselines()
    for idx, baseline in enumerate(baselines):
        click.echo('[%d] %s' % (idx + 1, baseline['name']))
    confirm = True
    while confirm:
        value = click.prompt(
            'Please enter the number for the baseline you want to download',
            type=int)
        challenge.clone_baseline(baselines[value - 1])
        confirm = click.confirm('Do you want to download another baseline?',
                                abort=True)
Beispiel #3
0
def download(info: Info):
    challenge = current_challenge(info)
    datasets = challenge.list_datasets()
    confirm = True
    while confirm:
        for idx, dataset in enumerate(datasets):
            click.echo('[%d] %s' % (idx + 1, dataset['dataset_name']))
        value = click.prompt(
            'Please enter the number for the dataset you want to download',
            type=int)
        challenge.download_dataset(datasets[value - 1])
        confirm = click.confirm('\nDo you want to download another dataset?',
                                abort=True)
def download(info: Info):
    challenge = current_challenge(info)
    templates = challenge.list_templates()
    confirm = True
    for idx, template in enumerate(templates):
        click.echo('[%d] %s' % (idx + 1, template['name']))
    while confirm:
        value = click.prompt(
            'Please enter the number for the template you want to download',
            type=int)
        challenge.clone_template(templates[value - 1])
        confirm = click.confirm('Do you want to download another template?',
                                abort=True)
Beispiel #5
0
def list(info: Info):
    challenge = current_challenge(info)
    baselines = challenge.list_baselines()
    for idx, baseline in enumerate(baselines):
        click.echo('[%d] %s' % (idx + 1, baseline['name']))
Beispiel #6
0
def list(info: Info):
    challenge = current_challenge(info)
    datasets = challenge.list_datasets()
    for idx, dataset in enumerate(datasets):
        click.echo('[%d] %s' % (idx + 1, dataset['dataset_name']))
def list(info: Info):
    challenge = current_challenge(info)
    templates = challenge.list_templates()
    for idx, template in enumerate(templates):
        click.echo('[%d] %s' % (idx + 1, template['name']))