https://github.com/ashrithsagar/option-critic

The Option-Critic Architecture

https://github.com/ashrithsagar/option-critic

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, acm.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

The Option-Critic Architecture

Basic Info
  • Host: GitHub
  • Owner: AshrithSagar
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 83 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago

https://github.com/AshrithSagar/option-critic/blob/main/

# option-critic

![GitHub](https://img.shields.io/github/license/AshrithSagar/option-critic)
![GitHub repo size](https://img.shields.io/github/repo-size/AshrithSagar/option-critic)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Implementation of the Option-Critic Architecture | PyTorch

[DOI](https://dl.acm.org/doi/10.5555/3298483.3298491)
|
[arXiv](https://arxiv.org/abs/1609.05140)
|
[Paper](https://ojs.aaai.org/index.php/AAAI/article/view/10916/10775)

## Installation

Clone the repo and install in editable mode using `pip` from the project root directory:

```shell
pip install -e .
```

The list of dependencies are available [here](requirements.txt), which are automatically installed.

## Usage

See all the available config options using

```shell
oca run --help
```

Check [`ConfigRunDefaults`](oca/utils/config.py) for the base defaults.
Specify any overrides using CLI arguments.

```shell
oca run --switch-goal --env FourRooms-v0 --agent OptionCritic
```

Environments (not limited to, but tested on these):

- `FourRooms-v0`
- `AsterixNoFrameskip-v4`
- `MsPacmanNoFrameskip-v4`
- `SeaquestNoFrameskip-v4`
- `ZaxxonNoFrameskip-v4`
- `CartPole-v1`

To check logs in tensorboard

```shell
tensorboard --logdir=./oca/experiments/runs/{run_name}
```

### Plots

To check available configs, use

```shell
oca plot --help
```

```shell
oca plot --run-name {run_name}
```

## References

- 
- 
- 
- 

Owner

  • Name: Ashrith Sagar
  • Login: AshrithSagar
  • Kind: user

#

GitHub Events

Total
  • Issues event: 1
  • Delete event: 2
  • Issue comment event: 1
  • Member event: 2
  • Public event: 1
  • Push event: 55
  • Create event: 5
Last Year
  • Issues event: 1
  • Delete event: 2
  • Issue comment event: 1
  • Member event: 2
  • Public event: 1
  • Push event: 55
  • Create event: 5