Coder Social home page Coder Social logo

sumitsk / gym_vecenv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agakshat/gym_vecenv

0.0 2.0 0.0 9 KB

Python3 wrapper for running multiple OpenAI Gym environments in parallel

Home Page: https://pypi.python.org/pypi/gym-vecenv/1.0

License: MIT License

Python 100.00%

gym_vecenv's Introduction

gym_vecenv

Python3 wrapper for running multiple OpenAI Gym environments in parallel

All the code is from OpenAI Baselines Repository

The parallel environment functionality was the only reason I used Baselines, but installing it requires resolving MuJoCo, mujoco-py and various other dependencies which is troublesome. Hence, I repackaged the required functionality into another package which is very easy to install and exposes the same API

Requirements (resolved automatically during installation):

  1. Python 3
  2. OpenAI Gym
  3. Cloudpickle
  4. numpy

Installation: Easiest way is to do pip install gym_vecenv

If you want to build from source,

  1. Clone this repository
  2. cd gym_vecenv
  3. pip install -e .

Usage:

  1. import gym_vecenv and then call gym_vecenv.SubprocVecEnv or gym_vecenv.DummyVecEnv in your code

  2. from gym_vecenv import SubprocVecEnv, DummyVecEnv etc.

gym_vecenv's People

Contributors

agakshat avatar

Watchers

James Cloos avatar Sumit Kumar avatar

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.