Skip to content

Commit

Permalink
Merge pull request #517 from prabhatnagarajan/collecct_demos_docs
Browse files Browse the repository at this point in the history
Adds demonstration collection to experiments docs
  • Loading branch information
muupan committed Aug 9, 2019
2 parents 61f628d + 48ece26 commit 29d6c74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chainerrl/experiments/collect_demos.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def collect_demonstrations(agent,
outdir,
max_episode_len=None,
logger=None):
"""Collects demonstrations from an agent and writes to a file.
"""Collects demonstrations from an agent and writes them to a file.
Args:
agent: Agent from which demonstrations are collected.
Expand Down
9 changes: 9 additions & 0 deletions docs/experiments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@
Experiments
===========

Collecting demonstrations
=========================

.. autofunction:: chainerrl.experiments.collect_demonstrations

Training and evaluation
=======================

.. autofunction:: chainerrl.experiments.train_agent_async

.. autofunction:: chainerrl.experiments.train_agent_batch

.. autofunction:: chainerrl.experiments.train_agent_batch_with_evaluation

.. autofunction:: chainerrl.experiments.train_agent_with_evaluation

Training hooks
Expand Down

0 comments on commit 29d6c74

Please sign in to comment.