Giter VIP home page Giter VIP logo

Comments (4)

zenghsh3 avatar zenghsh3 commented on June 21, 2024
  1. ensemble_num是指同时训练K个模型(K个Actor和K个Critic),不过K个模型会共享底部参数(Multi-head方式);
  2. 预测的时候K个Critic会对K个Actor的输出分别打分,每个Critic会分别归一化它们自己的打分,然后每个Actor的输出最终得分为归一化后的Critic打分之和,我们会选择最终得分最高的Actor输出。这块逻辑可以参考源码:
    def define_ensemble_predict(self, obs):

from parl.

janyChan avatar janyChan commented on June 21, 2024

def define_ensemble_predict(self, obs);函数我看到在build_program中调用过,但build_program没看到在哪使用?

from parl.

janyChan avatar janyChan commented on June 21, 2024

build_program是在PARL/parl/framework/agent_base.py中,模型运行时就直接调用的吗?

from parl.

TomorrowIsAnOtherDay avatar TomorrowIsAnOtherDay commented on June 21, 2024

self.build_program()

是的,agent 构建的时候自动调用这个函数。

看来这个函数的调用方式不大容易定位,我们会update文档来说明这个问题

from parl.

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.