Farama-Foundation/D4RL

[Bug Report] Relocate demonstration seems to be erroneous

Aequatio-Space opened this issue · 0 comments

Bug Description
the "relocate-human-v1" and "relocate-expert-v1" seems to have unrealistic ball position.

Code example

import d4rl
import gym
env = gym.make('relocate-expert-v1')
dataset = env.get_dataset()
i = 0
while i < 5000:
    current_state = {}
    for key in dataset:
        if key.startswith('infos/'):
            current_state[key[len('infos/'):]] = dataset[key][i]
    env.set_env_state(current_state)
    env.mj_render()
    i += 1

when running the above code, a ball floating in the air is clearly visible, which does not appear natural. Other Adroit environment(hammer, door) seems normal under this script.
Bug-example

System Info

  • The D4RL(version 1.1) is installed from source.
  • OS: macOS Monterey 12.6.3
  • Python version: 3.7.13
  • Gym version: 0.23.1

Checklist

  • I have checked that there is no similar issue in the repo (required)