Giter Site home page Giter Site logo

Comments (2)

qgallouedec avatar qgallouedec commented on July 17, 2024

In fact the actual observation that the agent receives the observation is composed of several components (in the form of dict).

observation = {
  "observation": ...,
  "desired_goal": ..., 
  "achieved_goal": ...,
}
  • For the key "observation", there are two components:
    • the robot-related component (the position of the gripper, its speed etc.)
    • the task-related component (the position of the objects, the speed etc.)
  • For the key "desired_goal", this is the goal of the task. For example, the target position of the object for the PickAndPlace task.
  • For the key "achieved_goal", it is the goal achieved at time t. For example for PickAndPlace, it is the current position of the object.

Several remarks:

  • The codes you attached are for building the task-related observation. This component is then concatenated with the component linked to the robot, then put in a dict with the desired goal and the achieved goal. (see above)
  • "achieved_goal" is usually redundant with the components of the observation. For example, for PickAndPlace, the position of the object is in the observation vector and in the "achieved_goal" vector.
  • For Reach, there is no component linked to the task because there is no object (in this case, the terminology is a bit misleading because there is still a task to perform, but this is a special case so we left it like that)

from panda-gym.

qgallouedec avatar qgallouedec commented on July 17, 2024

All this is explained in the publication linked to panda-gym, I strongly advise you to read it (especially the diagram)

from panda-gym.

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.