GithubHelp home page GithubHelp logo

Comments (4)

Kallinteris-Andreas avatar Kallinteris-Andreas commented on August 18, 2024

Identical behavior is not guaranteed across different gymnasium environment versions, in fact that is the point of environment versions, that being said if you want closer performance, you could try using an earlier version of mujoco library with the Humanoid-v4 or Humanoid-v5 environment

from gymnasium.

jjyyxx avatar jjyyxx commented on August 18, 2024

@Kallinteris-Andreas Thanks for your prompt reply! I fully acknowledge the guarantee that identical behavior is only guaranteed within the same gymnasium environment version. However, your statement may be a little bit "self-contradictory", that:

a. the environment behavior could change across different underlying mujoco version, but
b. the environment behavior should keep consistent with fixed environment version

Regarding the specific Humanoid environment, I am quite confident that the program logic on the Gymnasium side of V3 and V4 are identical, and only the called API differs. So, I'm pretty sure that Humanoid-V4 would exhibit V3-like behavior with old enough mujoco binding (e.g., 2.1.5), and the environment behavior silently changes as mujoco upgrades.

from gymnasium.

Kallinteris-Andreas avatar Kallinteris-Andreas commented on August 18, 2024

Humanoid version 3 and humanoid version 4 are definitely not identical, They have different reward functions because version 4 contact cost is always 0, (due to a bug)

regarding MuJoCo version differences:
https://gymnasium.farama.org/main/environments/mujoco/#exact-reproducibility

from gymnasium.

jjyyxx avatar jjyyxx commented on August 18, 2024

Sorry for my negligence and inclarity. The core logic to call mujoco simulation is what I refer to. I noticed the minor contact reward difference. Your point about exact reproducibility is fair enough, though I was not expecting obvious numerical difference since the first step of simulation between V3 and V4 with same seed (maximum absolute difference ~0.75).

from gymnasium.

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.