Skip to content

AshrithSagar/option-critic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

option-critic

GitHub GitHub repo size Code style: black

Implementation of the Option-Critic Architecture | PyTorch

DOI | arXiv | Paper

Installation

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

pip install -e .

The list of dependencies are available here, which are automatically installed.

Usage

See all the available config options using

oca run --help

Check ConfigRunDefaults for the base defaults. Specify any overrides using CLI arguments.

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

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

Plots

To check available configs, use

oca plot --help
oca plot --run-name {run_name}

References

About

The Option-Critic Architecture

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •