From 4fd1d21845aa3bf65574e5f74e90ac1ae88a51a8 Mon Sep 17 00:00:00 2001 From: YenChenLin Date: Sun, 28 May 2017 13:13:47 -0400 Subject: [PATCH] Fix typo --- baselines/deepq/build_graph.py | 4 ++-- baselines/deepq/simple.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/baselines/deepq/build_graph.py b/baselines/deepq/build_graph.py index f0a560e..f0fcf49 100644 --- a/baselines/deepq/build_graph.py +++ b/baselines/deepq/build_graph.py @@ -98,7 +98,7 @@ def build_act(make_obs_ph, q_func, num_actions, scope="deepq", reuse=None): Returns ------- act: (tf.Variable, bool, float) -> tf.Variable - function to select and action given obsercation. + function to select and action given observation. ` See the top of the file for details. """ with tf.variable_scope(scope, reuse=reuse): @@ -164,7 +164,7 @@ def build_train(make_obs_ph, q_func, num_actions, optimizer, grad_norm_clipping= Returns ------- act: (tf.Variable, bool, float) -> tf.Variable - function to select and action given obsercation. + function to select and action given observation. ` See the top of the file for details. train: (object, np.array, np.array, object, np.array, np.array) -> np.array optimize the error in Bellman's equation. diff --git a/baselines/deepq/simple.py b/baselines/deepq/simple.py index 1792ac8..2e90d71 100644 --- a/baselines/deepq/simple.py +++ b/baselines/deepq/simple.py @@ -68,7 +68,7 @@ def load(path, num_cpu=16): Returns ------- act: ActWrapper - function that takes a batch of obsercations + function that takes a batch of observations and returns actions. """ return ActWrapper.load(path, num_cpu=num_cpu)