Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yfletberliac/adversarially-guided-actor-critic
AGAC: Adversarially Guided Actor-Critic
https://github.com/yfletberliac/adversarially-guided-actor-critic
adversarially-guided-actor-critic pytorch tensorflow
Last synced: 2 months ago
JSON representation
AGAC: Adversarially Guided Actor-Critic
- Host: GitHub
- URL: https://github.com/yfletberliac/adversarially-guided-actor-critic
- Owner: yfletberliac
- License: mit
- Created: 2021-01-26T18:20:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-16T08:53:24.000Z (over 3 years ago)
- Last Synced: 2023-07-04T14:29:36.952Z (over 1 year ago)
- Topics: adversarially-guided-actor-critic, pytorch, tensorflow
- Language: Python
- Homepage: https://arxiv.org/abs/2102.04376
- Size: 273 KB
- Stars: 44
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adversarially Guided Actor-Critic (AGAC)
This repository contains an implementation of AGAC, as introduced
in [Adversarially Guided Actor-Critic](https://openreview.net/forum?id=_mQp5cr_iNy) (ICLR 2021).This is the original **TensorFlow** implementation.
Find the **PyTorch** implementation [here](https://github.com/yfletberliac/adversarially-guided-actor-critic/tree/main/agac_torch).## Installation
```
# create a new conda environment
conda create -n agac python=3.7
conda activate agac# install dependencies
git clone [email protected]:yfletberliac/adversarially-guided-actor-critic.git
cd adversarially-guided-actor-critic
pip install -r requirements.txt
```## Train AGAC on MiniGrid
```
python run_minigrid.py
```## Train AGAC on Vizdoom
(follow [Vizdoom install](https://github.com/yfletberliac/adversarially-guided-actor-critic#vizdoom-install) first)
```
python run_vizdoom.py
```### Vizdoom install
#### Ubuntu
```
sudo apt-get install cmake libboost-all-dev libgtk2.0-dev libsdl2-dev python-numpy
pip install -e git://github.com/yfletberliac/vizdoomgym.git#egg=vizdoomgym
```#### macOS
```
brew install cmake boost sdl2
pip install vizdoom==1.1.8
pip install pyglet==1.5.11 -e git://github.com/yfletberliac/vizdoomgym.git#egg=vizdoomgym
```## Citation
```
@inproceedings{
flet-berliac2021adversarially,
title={Adversarially Guided Actor-Critic},
author={Yannis Flet-Berliac and Johan Ferret and Olivier Pietquin and Philippe Preux and Matthieu Geist},
booktitle={International Conference on Learning Representations},
year={2021},
}
```## Acknowledgements
The code is an adaptation of [Stable Baselines](https://github.com/hill-a/stable-baselines).
Thank you to [@cibeah](https://github.com/cibeah) for the PyTorch implementation.