Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Asynchronous Advantage Actor-Critic (A3C) algorithm for Super Mario Bros
| Date | Stars |
|---|---|
| 2026-07-24 | 1112 |
| 2026-07-25 | 1112 |
| 2026-07-28 | 1112 |
| 2026-07-30 | 1112 |
| 2026-08-06 | 1112 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# [PYTORCH] Asynchronous Advantage Actor-Critic (A3C) for playing Super Mario Bros ## Introduction Here is my python source code for training an agent to play super mario bros. By using Asynchronous Advantage Actor-Critic (A3C) algorithm introduced in the paper **Asynchronous Methods for Deep Reinforcement Learning** [paper](https://arxiv.org/abs/1602.01783). <p align="center"> <img src="demo/video_1_1.gif" width="200"> <img src="demo/video_1_2.gif" width="200"> <img src="demo/video_1_4.gif" width="200"> <img src="demo/video_2_1.gif" width="200"><br/> <img src="demo/video_2_2.gif" width="200"> <img src="demo/video_2_3.gif" width="200"> <img src="demo/video_2_4.gif" width="200"> <img src="demo/video_3_1.gif" width="200"><br/> <img src="demo/video_3_2.gif" width="200"> <img src="demo/video_3_3.gif" width="200"> <img src="demo/video_3_4.gif" width="200"> <img src="demo/video_4_1.gif" width="200"><br/> <img src="demo/video_5_1.gif" width="200"> <img src="demo/video_6_1.gif" width="200"> <img src="demo/video_6_3.gif" width="200"> <img src="demo/video_7_1.gif" width="200"><br/> <img src="demo/video_7_3.gif" width="200"> <img src="demo/video_8_2.gif" width="200"> <img src="demo/video_8_3.gif" width="200"><br/> <i>Sample results</i> </p> ## Motivation Before I implemented this project, there are several repositories reproducing the paper's result quite well, in different common deep learning frameworks such as Tensorflow, Keras and Pytorch. In my opinion, most of them are great. However, they seem to be overly complicated in many parts including image's pre-processing, environtment setup and weight initialization, which distracts user's attention from more important matters. Therefore, I decide to write a cleaner code, which simplifies unimportant parts, while still follows the paper strictly. As you could see, with minimal setup and simple network's initialization, as long as you implement the algorithm correctly, an agent will teach itself how to interact with environment and gradually find out the way to reach the final goal. ## Explanation in layman's term If you are already familiar to reinforcement learning in general and A3C in particular, you could skip this part. I write this part for explaining what is A3C algorithm, how and why it works, to people who are interested in or curious about A3C or my implementation, but do not understand the mechanism behind. Therefore, you do not need any prerequiste knowledge for reading this part :relaxed: If you search on the internet, there are numerous article introducing or explaining A3C, some even provide sample code. However, I would like to take another approach: Break down the name **Asynchronous Actor-Critic Agents** into smaller parts and explain in an aggregated manner. ### Actor-Critic Your agent has 2 parts called **actor** and **critic**, and its goal is to make both parts perfom better over time by exploring and exploiting the environment. Let imagine a small mischievous child (**actor**) is discovering the amazing world around him, while his dad (**critic**) oversees him, to make sure that he does not do anything dangerous. Whenever the kid does anything good, his dad will praise and encourage him to repeat that action in the future. And of course, when the kid does anything harmful, he will get warning from his dad. The more the kid interacts to the world, and takes different actions, the more feedback, both positive and negative, he gets from his dad. The goal of the kid is, to collect as many positive feedback as possible from his dad, while the goal of the dad is to evaluate his son's action better. In other word, we have a win-win relationship between the kid and his dad, or equivalently between **actor** and **critic**. ### Advantage Actor-Critic To make the kid learn faster, and more stable, the dad, instead of telling his son how good his action is, will tell him how better or worse his action in compared to other action
Excerpt of 6,143 characters
Read on GitHubViet Nguyen · SPORTTOTAL.TV · Germany
46
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:ca2c1e4fc1e89a8c, topic:deep-learning, topic:pytorch
matched fp:ca2c1e4fc1e89a8c, topic:reinforcement-learning, readme:reinforcement learning, desc:actor-critic