Open yanlai00 opened 3 years ago
This is still an issue when using the carla-lane-render-v0
environment:
d4rl/carla/__init__.py:32
: entry_point
is CarlaObsDict
, this should be CarlaObsDictEnv
d4rl/carla/__init__.py:37
: dataset_url
of carla-lane-render-v0
is not a valid URL (Error 404). Can this be the same url as in the carla-lane-v0
environment?Besides that, there are more issues with this env:
d4rl/carla/carla_env.py:930
: local variable reward
referenced before assignmentd4rl/carla/carla_env.py:933
: local variable reward_dict
referenced before assignmentd4rl/carla/carla_env.py:936
: local variable done_dict
referenced before assignment
In the
__init__.py
file in thecarla
folder, the config forcarla-lane-render-v0
environment is wrong. Theentry_point
should bed4rl.carla:CarlaObsEnv
instead ofd4rl.carla:CarlaDictEnv
; and thedataset_url
should be the same as that of thecarla-lane-v0
env. The current URL gives a 404 error.