Giter VIP home page Giter VIP logo

Comments (1)

DanHrmti avatar DanHrmti commented on September 24, 2024

Hi Hanna,

  1. Training through main.py: The Eval Episode Video and Goal Image are recorded every config['Training']['epochEpisodes'] when evaluating the policy during training. The other videos and goals are recorded every config['WANDB']['episodeVisFreq'] . The current config, if you haven't modified it, is 800 episodes for both. Notice that the Eval video displays a policy that seems less stochastic, this is because there is no exploration noise added when evaluating.

Evaluation with policy_eval.py: This script evaluates a chosen policy and prints the performance statistics as well as saves a single rollout video + goal in order to visualize the policy behavior.

  1. The code will run config['Training']['totalTimesteps'] timesteps in the environment.

  2. The inputs to the policy and Q-function neural networks are normalized using running statistics (running mean and std). The obs_rms_std and obs_rms_mean graphs record a mean of these across the object feature dimension and it is mostly meant to identify anomalies such as a sudden very large change in statistics that might indicate a bug. What you should expect in these graphs is relatively quick convergence to some value, 'obs_rms_std' shouldn't be too close to zero. The graphs that indicate performance are eval_goal_achievement_%, mean_success_frac, mean_avg_obj_dist, mean_max_obj_dist and eval_mean_reward. I would also look at 1C_interaction_rate which can signal when the agent starts to learn that it needs to interact with objects in order to achieve its goals.

Let me know if you have any other questions. You can also email me if you prefer, I will be happy to help.

Best,
Dan

from ecrl.

Related Issues (2)

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.