Git Product home page Git Product logo

bantu-4879 / atari_games-deep_reinforcement_learning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 373 KB

This repository hosts Jupyter notebooks showcasing the training of Atari games using a variety of Deep Reinforcement Learning (RL) algorithms such as Proximal Policy Optimization (PPO), Deep Deterministic Policy Gradient (DDPG), Deep Q-Networks (DQN), Advantage Actor-Critic (A2C), and more.

License: MIT License

Jupyter Notebook 100.00%
atari-games deep-reinforcement-learning dqn-pytorch gymnasium ppo-pytorch stablebaselines3

atari_games-deep_reinforcement_learning's Introduction

Atari Games Deep Reinforcement Learning

License Stable Baselines PyTorch OpenAI Gym

This repository is a comprehensive resource for Deep Reinforcement Learning (RL) enthusiasts looking to delve into the world of Atari gaming environments. Through a collection of Jupyter notebooks, I demonstrate the application of various state-of-the-art RL algorithms to tackle Atari games, providing both beginners and seasoned practitioners with valuable insights and practical examples.

Pong Environment

Key Features

  • Diverse Algorithms: Explore the training processes of popular Deep RL algorithms, including Proximal Policy Optimization (PPO), Deep Deterministic Policy Gradient (DDPG), Deep Q-Networks (DQN), Advantage Actor-Critic (A2C), and more.

  • Gymnasium Environments: Utilize OpenAI's Gymnasium environments to simulate Atari games, offering a standardized platform for RL experimentation. Gymnasium Documentation

  • Stable Baselines 3: Implement RL algorithms with ease using Stable Baselines 3, a powerful library built on top of PyTorch. Stable Baseline3 Documentation

Table of Contents

Installation

  1. Clone the repository:
    git clone https://github.com/bantu-4879/Atari_Games-Deep_Reinforcement_Learning.git
  2. Install the required dependencies:
    pip install -r requirements.txt

Usage

Navigate to the notebooks directory and open any desired Jupyter notebook to explore the training procedures of different RL algorithms on Atari games.

Contributing

Contributions are welcome! Feel free to open issues or pull requests to suggest improvements, report bugs, or add new features.

License

This project is licensed under the MIT License.

Special Thanks

A special thanks to Thomas Simonini for the inspiration and valuable insights that contributed to the development of this repository.

Acknowledgments

This repository was inspired by and learned from Deep Reinforcement Learning Class.

atari_games-deep_reinforcement_learning's People

Contributors

bantu-4879 avatar

Stargazers

 avatar

Watchers

 avatar

atari_games-deep_reinforcement_learning's Issues

Stuck at Local Minimum in PPO with CarRacing-v2 Environment

I've been experimenting with various parameters in the Proximal Policy Optimization (PPO) algorithm within the CarRacing-v2 environment. After extensive testing, I've found a combination of parameters that initially shows promising results and learns relatively fast. However, I've encountered a significant challenge where the learning process appears to stagnate after a certain training stage.

Despite extensive training, the agent seems unable to surpass a particular performance threshold. I suspect that the algorithm may be trapped in a local minimum, but it doesn't seem to be a desirable or acceptable minimum given the potential of the environment.

Request for Assistance:
I'm seeking guidance on how to overcome this challenge and help the algorithm escape from the local minimum it's currently stuck in. Any insights, suggestions, or alternative approaches would be greatly appreciated.

Environment and Configuration:

  • Environment: CarRacing-v2
  • Algorithm: Proximal Policy Optimization (PPO)

My Work
https://github.com/bantu-4879/Atari_Games-Deep_Reinforcement_Learning/tree/main/Notebooks/CarRacing-v2

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.