Coder Social home page Coder Social logo

deepreinforcementlearning-applied-to-atari's Introduction

Deep Reinforcement Learning Applied to Atari MsPacman

  • Created a tabular reinforcement learning environment.
  • Applied Q-learning in the environment created.
  • Applied Soft Actor Critic to Atari MsPacman.
  • Applied Deep Q-Network to Atari MsPacman.

Packages

Python Version: 3.8.3

Main Packages used:

  • opencv-python==4.5.1.48
  • torch==1.8.1
  • torchvision==0.9.1

Requirements: <pip install -r requirements.txt>

Original Data

The original data was from OpenAI Gym.

Examples of Results

Best game by SAC:

best_task3

Pacman gets stuck in a corner and stops moving.

Best game by DQN:

best_task4

Pacman moves more smoothly and does not stop moving.

Conclusion

  • DQN outperforms SAC in Atari MsPacman, which suggests that DQN performs better than SAC when the environment has complex rules and uncertainty.

Specifications

Jupyter Notebooks

All jupyter notebooks are available as ipynb.

  • Task_1: Create a tabular reinforcement learning environment
  • Task_2: Apply Q-learning to the environment created in Task_1
  • Task_3: Apply SAC to Atari MsPacman
  • Task_4: Apply DQN to Atari MsPacman

Folders

  • Code: Contains all of the codes implemented

Files

  • Report: The report for the whole project

deepreinforcementlearning-applied-to-atari's People

Contributors

chikazemori avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

stephlee12

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.