Giter VIP home page Giter VIP logo

Comments (7)

mhauskn avatar mhauskn commented on June 9, 2024

Thanks for pointing this issue out! I think the best way of handling it would be to change the applyActions method in ale_controller to return a reward_t (probably zero for reset/save/load actions) which is the reward it got from environment.act(). The associated fifo/internal/rl_glue controllers would have to be changed as well.

It seems to me that it would be preferable to use the StellaEnvironment to get rewards wherever possible rather than going under stella environment and calling m_settings->getReward(). What do you think Marc?

from arcade-learning-environment.

spragunr avatar spragunr commented on June 9, 2024

That's exactly what I ended up doing in my local copy, and it seems to work fine. If you want, I'm happy to pass along my fixed ale_controller. My version of the rl_glue controller has the fix as well, but it is horribly hacked up in other ways, so I doubt you would want that. Nice work on ALE by the way! Thanks for distributing it.

from arcade-learning-environment.

mhauskn avatar mhauskn commented on June 9, 2024

I've written some code to fix the issue and submitted it as a pull request to the repo. It sounds like you've already fixed the code on your end so worries there. Hopefully the code in the pull request is basically the same as your fixed ale_controller. Take a look if you want and let me know if anything doesn't look right. Thanks for reporting the bug!

from arcade-learning-environment.

spragunr avatar spragunr commented on June 9, 2024

The changes look correct to me. Thanks for working on a fix.

from arcade-learning-environment.

mgbellemare avatar mgbellemare commented on June 9, 2024

Can this issue be closed?

from arcade-learning-environment.

mhauskn avatar mhauskn commented on June 9, 2024

Yes
On Aug 12, 2013 10:52 AM, "Marc G. Bellemare" [email protected]
wrote:

Can this issue be closed?


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-22503222
.

from arcade-learning-environment.

spragunr avatar spragunr commented on June 9, 2024

I closed it.

On 08/12/2013 11:50 AM, Marc G. Bellemare wrote:

Can this issue be closed?


Reply to this email directly or view it on GitHub
#18 (comment).

from arcade-learning-environment.

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.