Example #1
0
def run_exp(variant):
    from doodad.easy_launch.python_function import run_experiment
#     from launchers.config import *
    method, variant = variant
    
    print ("variant: ", variant)
    run_experiment(
        method,
        exp_name=variant["exp_name"],
#         mode='local_docker',
        mode=variant["doodad_run_mode"],
#         mode='local',
#         mode='ec2',
        ssh_host=variant["ssh_host"],
        use_gpu=variant["training_processor_type"] == "gpu",
        variant=variant,
        region='us-east-2',
    )
Example #2
0
from doodad.easy_launch.python_function import run_experiment


def example(doodad_config, variant):
    print(variant)


if __name__ == "__main__":
    for seed in range(5):
        variant = dict(seed=seed, )
        run_experiment(
            example,
            exp_name="test",
            mode="htp",
            variant=variant,
            use_gpu=False,
        )
Example #3
0
from doodad.easy_launch.python_function import run_experiment


def example(doodad_config, variant):
    print(doodad_config)
    print(variant)


if __name__ == "__main__":
    for seed in range(5):
        variant = dict(seed=seed, )
        run_experiment(
            example,
            exp_name='test',
            mode='local',
            variant=variant,
            use_gpu=False,
        )
Example #4
0
from doodad.easy_launch.python_function import run_experiment


def example(doodad_config, variant):
    print('XXX start of example fn')
    print(variant)
    print(doodad_config)


if __name__ == "__main__":
    for seed in range(3):
        variant = dict(
            seed=seed,
        )
        run_experiment(
            example,
            exp_name='test',
            mode='ss',
            variant=variant,
            use_gpu=False,
            time_in_mins=480,
        )