Giter Site home page Giter Site logo

rl-demo's Introduction

RL-demo

强化学习常见算法的实现,Q-Learning/DQN/PG/AC/DDPG/PPO/SAC

rl-demo's People

Contributors

wangyuxiang8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar Kun_BJTU avatar luli666 avatar  avatar hygge avatar  avatar yty avatar

Watchers

 avatar

rl-demo's Issues

PPO Actor Loss

You have done a very nice work! I have some questions to ask you...
In the RL-demo/PPO/agent.py folder, I see the loss function in the 70th line. I think the function, that you have written, should be ppo_actor's objective function, which is expected to be larger. However, ppo_actor's loss should be smaller... So, is a minus sign missing here? Or, is my understanding of PPO not deep enough? Expect your answer!

The following is a Chinese translation.
大佬你好,我观察到在你RL-demo/PPO/agent.py的第70行里面出现了PPO_actor的loss公式,但是我觉得那个应该是PPO_actor的目标函数,即一个越大越好的指标,Loss应该是越小越好的。所以这里是不是缺了一个负号?还是我对公式的理解不够透彻?希望您不吝赐教。

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.