Example #1
0
def main(argv=None):
    """Run ExperimentRunner locally on ray.

    To run this example on cloud (e.g. gce/ec2), use the setup scripts:
    'softlearning launch_example_{gce,ec2} examples.development <options>'.

    Run 'softlearning launch_example_{gce,ec2} --help' for further
    instructions.
    """
    run_example_local('examples.development', argv)
Example #2
0
def main(argv=None):
    """Run ExperimentRunner locally on ray.

    To run this example on cloud (e.g. gce/ec2), use the setup scripts:
    'softlearning launch_example_{gce,ec2} examples.development <options>'.

    Run 'softlearning launch_example_{gce,ec2} --help' for further
    instructions.
    """
    # __package__ should be `development.main`
    run_example_local('classifier_rl.main', argv)
Example #3
0
from examples.instrument import run_example_local
import sys

if __name__ == '__main__':
    model_name = 'examples.development'
    run_example_local(model_name, tuple(sys.argv[1:]))
Example #4
0
from examples.instrument import run_example_local

example_module_name = "examples.development"
example_argv = ("--algorithm=SAC", "--universe=gym", "--domain=HalfCheetah", "--task=v3",
                "--exp-name=my-sac-experiment-1", "--checkpoint-frequency=1000", "--mode=local")

run_example_local(example_module_name, example_argv)
Example #5
0
def run_example_local_cmd(example_module_name, example_argv):
    """Run example locally, potentially parallelizing across cpus/gpus."""
    return run_example_local(example_module_name, example_argv)
Example #6
0
def run_example_local_cmd(example_module_name, example_argv):
    run_example_local(example_module_name, example_argv)