Skip to content

Infant83/ReinforcementZeroToAll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Zero to All

This is work in progress and it may have bugs. However, we call for your comments and pull requests.

We emphasize on the following:

  • Readiability over anything else
    • That's why we choose Python
  • Pythonic code
    • PEP8
    • Docstring
  • Use High Level Tensorflow API
    • Cleaner and easier to understand
  • KISS

Lecture videos

File naming rule

99_9_description.py
  • First two digits indicates a category of algorithms
    • 07: DQN
    • 08: Policy Gradient
    • 09: Random Search Methods
    • 10: Actor Critic
  • A second digit indicates an id
  • Description shows what the file is about

How to use uploader

It makes the uploading process a little bit simpler

  1. Go to https://gym.openai.com/
  2. Login with your github account
  3. Copy your OpenAI api key from the upper right corner of your profile page
    user
  4. Modify gym.ini
  5. In console
#python gym_uploader.py /path/to/gym_results
python gym_uploader.py gym-results/

Install requirements

pip install -r requirements.txt

Run test and autopep8

TODO: Need to add more test cases

pytest
# pip install autopep8 # if you haven't install
autopep8 . --recursive --in-place --pep8-passes 2000 --verbose --ignore E501

Contributions/Comments

We always welcome your comments and pull requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.9%
  • Jupyter Notebook 19.1%