Skip to content

gianluca-maselli/A2C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A2C (Advantage Actor-Critic)

The folder contains the files needed to run the synchronous version of Actor-Critic Mnih et al. with the PongNoFrameSkip-v4 gym environment. Similar to the already developed DQN present in our repository we used the same environment to replicate the steps performed in the original Atari2600 game. For this reason, the preprocessing functions are almost the same. The difference with many other versions of the same algorithm is that we decided to implement the necessary functions to run the A2C over multiple environments from scratch and without the use of the Gym Library.

Usage

Running A2C with PongNoFrameSkip-v4 env is straightforward by launching the command

python main.py

This will train the agent on 16 serialized PongNoFrameSkip-v4 environments.

Examples of Plots of both losses and scores average are reported below:

Losses Scores AVG

Releases

No releases published

Packages

No packages published

Languages