car_dreamer

If you want to directly use our tasks without creating customized environments, the following functions are just enough for you. See Tasks and Configurations for possible tasks and configurations.

create_task(task_name: str, argv=None)

Create a driving task with the specified task name. The task name should be one of the keys in the tasks.yaml file.

Parameters:
  • task_name – str, the name of the task

  • argv – list, the command line arguments, unrecognized arguments will be omitted

Returns:

a tuple of the created environment and the configs

load_task_configs(task_name: str)

Load the task configs for the specified task name. The task name should be one of the keys in the tasks.yaml file.

Parameters:

task_name – str, the name of the task

Returns:

the task configs