Git Product home page Git Product logo

Comments (2)

hiwonjoon avatar hiwonjoon commented on July 17, 2024 2

I found that hopper-medium-expert-v0 is combined with hopper-expert and hopper-mixed instead of hopper-medium. It can be confirmed with the script below:

import numpy as np
import gym, d4rl

obs_mixed  = gym.make('hopper-mixed-v0').get_dataset()['observations']
obs_expert = gym.make('hopper-expert-v0').get_dataset()['observations']
obs_medium_expert = gym.make('hopper-medium-expert-v0').get_dataset()['observations']

assert np.all(obs_medium_expert[1000000:] == obs_mixed[:]) == True
assert np.all(obs_medium_expert[:1000000] == obs_expert[:]) == True

When I checked the other two environments (halfcheetah and walker2d) is okay; medium-expert dataset is nothing but a concatenation of medium dataset and expert dataset.

It is definitely a bug and explains why BC performs so well with the environment!

from d4rl.

aviralkumar2907 avatar aviralkumar2907 commented on July 17, 2024

Hello,

Thanks for pointing this out. We have updated the dataset to include a new version as well: http://rail.eecs.berkeley.edu/datasets/offline_rl/gym_mujoco/hopper_medium_expert_v1.hdf5

We will shortly update the defaults in the code to make this change.

from d4rl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.