Coder Social home page Coder Social logo

lljll / faciledeepreinforcementlearning Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8 KB

A Facile guide for Deep Reinforcement Learning.

facile deep-reinforcement-learning deep-learning reinforcement-learning guide python openai-gym openai stable-baselines openai-baselines

faciledeepreinforcementlearning's Introduction

Chapter0 Get started

Choice of environment

Stable baselines is recommended as a improvement of OpenAI-baselines.

Setup

  • Before starting, using Virtual Environment is highly recommended.
  • Note: Baselines requires python3 (>=3.5)

Preparation of Virtual Environment (VENV) and Python3

Please refer the complete guide.

Here is an example using virtualenv and default interpreter python2.7 under Mac OSX

Install python3 by homebrew, which doesn't affet system python.

brew install python3

Create a virtual environmet named python3 under {your_folder}/virtualenv

virtualenv -p /usr/local/bin/python3 python3

activate the virtual environmet

. bin/activate

install needed packages under VENV Note: Stabe-Baselines supports Tensorflow versions from 1.8.0 to 1.14.0. Support for Tensorflow 2 API is planned.

sudo chown -R $(whoami) $(brew --prefix)/*
brew install cmake openmpi
pip install stable-baselines[mpi]`
pip install tensorflow

(optional) loading virtual environment in VSCode

If you hope to load virtual environment in VSCode editor, set in settings.json as below: "python.venvPath": "~/Codes/virtualenv"

Hello, world!

Chapter1

References

Essential Papers

Links

More resources

http://rail.eecs.berkeley.edu/deeprlcourse/

faciledeepreinforcementlearning's People

Contributors

lljll avatar

Watchers

 avatar  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.