You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,14 +157,19 @@ The model backbones are decoupled from CarDreamer tasks or the development sutie
157
157
Find `README.md` in the corresponding directory of the algorithm you want to use and follow the instructions to install dependencies for that model and start training. We suggest starting with DreamerV3 as it is showing better performance across our experiments. To train DreamerV3 agents, use
158
158
159
159
```bash
160
+
# Example 1: Use default settings to train an agent
The command will launch CARLA at 2000 port, load task a built-in task named `carla_four_lane`, and start the visualization tool at port 9000 (2000+7000) which can be accessed through `http://localhost:9000/`. You can append flags to the command to overwrite yaml configurations.
164
169
165
170
### Creating Tasks
166
171
167
-
The section explains how to create CarDreamer tasks in a standalone mode without loading our integrated models. This can be helpful if you want to train and evaluate your own models other than our integrated DreamerV2 and DreamerV3 on CarDreamer tasks.
172
+
The section explains how to create CarDreamer tasks in a standalone mode without loading our integrated models. This can be helpful **if you want to train and evaluate your own models** other than our integrated DreamerV2 and DreamerV3 on CarDreamer tasks.
168
173
169
174
CarDreamer offers a range of built-in task classes, which you can explore in the [CarDreamer Docs: Tasks and Configurations](https://car-dreamer.readthedocs.io/en/latest/tasks.html#tasks-and-environments).
Copy file name to clipboardExpand all lines: docs/source/tasks.rst
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Here is the descriptions of some common configurations in ``car_dreamer/configs/
75
75
* ``shape`` (default: ``[128, 128, 3]``): the shape of the birdeye, should follow the form of ``[n, n, 3]``.
76
76
* ``obs_range`` (default: ``32``): the range of the birdeye in meter (in unit of CARLA).
77
77
* ``ego_offset`` (default: ``12``): the offset of the ego vehicle to the bottom of the birdeye in meter (in unit of CARLA).
78
-
* ``sight_fov`` (default: ``150``): the field of view of the camera.
78
+
* ``sight_fov`` (default: ``150``): the field of view of the camera. Use single value for the same front and rear FOV. Use 2-tuple to configure two angles, respectively. For example, ``[150, 90]`` can be common settings for human drivers.
79
79
* ``sight_range`` (default: ``32``): the maximum visible distance
80
80
* ``observability`` (default: ``full``): can be ``full, recursive_fov, fov``. ``full`` means all background vehicles are visible. ``fov`` means only vehicles in the field of view are visible. ``recursive_fov`` means vehicles in the fov of vehicles in ego's fov are also visible.
81
81
* ``color_by_obs``: whether to color the vehicles by observability.
@@ -117,6 +117,9 @@ Here is a list of available environments and their supported tasks and configura
117
117
.. autoclass:: car_dreamer.CarlaWptEnv
118
118
:show-inheritance:
119
119
120
+
.. autoclass:: car_dreamer.CarlaWptFixedEnv
121
+
:show-inheritance:
122
+
120
123
.. autoclass:: car_dreamer.CarlaFourLaneEnv
121
124
:show-inheritance:
122
125
@@ -126,9 +129,6 @@ Here is a list of available environments and their supported tasks and configura
126
129
.. autoclass:: car_dreamer.CarlaOvertakeEnv
127
130
:show-inheritance:
128
131
129
-
.. autoclass:: car_dreamer.CarlaWptFixedEnv
130
-
:show-inheritance:
131
-
132
132
.. autoclass:: car_dreamer.CarlaLaneMergeEnv
133
133
:show-inheritance:
134
134
@@ -147,5 +147,8 @@ Here is a list of available environments and their supported tasks and configura
147
147
.. autoclass:: car_dreamer.CarlaTrafficLightsEnv
148
148
:show-inheritance:
149
149
150
+
.. autoclass:: car_dreamer.CarlaFollowEnv
151
+
:show-inheritance:
152
+
150
153
.. note::
151
154
All configurations mentioned here can also be changed by command line arguments. For example, to change the port number of the CARLA server, you can pass ``--env.world.carla_port <number>``. See :py:func:`car_dreamer.create_task` for more details.
0 commit comments