updated the save command for Semantic Segmentation (#6029)
* Fix a typo in setting the max brake From self._max_steer to self._max_brake * updated the save command for Semantic Segmentation carla.cityScapesPalette is given to convert in this documentation, but getting error when trying to save file using that conversion, currently in documentation: raw_image.save_to_disk("path/to/save/converted/image",carla.cityScapesPalette) [not working] but working with the below command: raw_image.save_to_disk("path/to/save/converted/image",carla.ColorConverter.cityScapesPalette) [working] Co-authored-by: kykim0 <kykim144@gmail.com> Co-authored-by: bernat <bernatx@gmail.com>
This commit is contained in:
parent
60f4a05c4c
commit
5a9f8fefe9
|
@ -709,7 +709,7 @@ This raw [carla.Image](python_api.md#carla.Image) can be stored and converted it
|
|||
|
||||
```py
|
||||
...
|
||||
raw_image.save_to_disk("path/to/save/converted/image",carla.cityScapesPalette)
|
||||
raw_image.save_to_disk("path/to/save/converted/image",carla.ColorConverter.cityScapesPalette)
|
||||
```
|
||||
|
||||
The following tags are currently available:
|
||||
|
|
Loading…
Reference in New Issue