D4RL
D4RL copied to clipboard
Carla env and dataset issue
In the __init__.py
file in the carla
folder, the config for carla-lane-render-v0
environment is wrong.
The entry_point
should be d4rl.carla:CarlaObsEnv
instead of d4rl.carla:CarlaDictEnv
; and the dataset_url
should be the same as that of the carla-lane-v0
env. The current URL gives a 404 error.
This is still an issue when using the carla-lane-render-v0
environment:
-
d4rl/carla/__init__.py:32
:entry_point
isCarlaObsDict
, this should beCarlaObsDictEnv
-
d4rl/carla/__init__.py:37
:dataset_url
ofcarla-lane-render-v0
is not a valid URL (Error 404). Can this be the same url as in thecarla-lane-v0
environment?
Besides that, there are more issues with this env:
-
d4rl/carla/carla_env.py:930
: local variablereward
referenced before assignment -
d4rl/carla/carla_env.py:933
: local variablereward_dict
referenced before assignment -
d4rl/carla/carla_env.py:936
: local variabledone_dict
referenced before assignment