Giter VIP home page Giter VIP logo

Comments (6)

MaxStrange avatar MaxStrange commented on September 26, 2024 5

I wrote a drop-in wrapper for retro to allow me to do exactly this, for use with the A3C algorithm in Tensorflow. In case unixpickle's answers don't work for you @mancoast, it's an option: retrowrapper. I just open-sourced it and stuck it in a repo.

from retro.

unixpickle avatar unixpickle commented on September 26, 2024 1

You can run multiple environments in parallel using a vectorized environment like SubprocVecEnv. This creates a separate sub-process for each environment. You can also create a gym.Env that samples a different environment on every reset(), like this JointEnv class, for example.

from retro.

christopherhesse avatar christopherhesse commented on September 26, 2024 1

I'm thinking of closing this issue since it's more of a discussion topic. Is there a better place to put this information?

from retro.

endrift avatar endrift commented on September 26, 2024

It is possible but only with multi-process communication. Unfortunately the emulation backend we're using cannot be loaded into the same process more than once. @unixpickle can tell you more about how to do the IPC.

from retro.

 avatar commented on September 26, 2024

from retro.

AloshkaD avatar AloshkaD commented on September 26, 2024

@MaxStrange I've been trying to parralize an custom openai gym env that uses the airsim, but Things aren't working for me. The airsim has a physics engine in unreal and that needs to run in order to return the states which are images and collision information. I appreciate any advice that will put me on the right track.

from retro.

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.