D4RL icon indicating copy to clipboard operation
D4RL copied to clipboard

Carla env and dataset issue

Open yanlai00 opened this issue 4 years ago • 1 comments

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.

yanlai00 avatar Dec 06 '20 13:12 yanlai00

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 assignment
  • d4rl/carla/carla_env.py:933: local variable reward_dict referenced before assignment
  • d4rl/carla/carla_env.py:936: local variable done_dict referenced before assignment

shypard avatar Jan 22 '23 10:01 shypard