From 5758c2f23ef693c9a0e43d2c55829c65decfa565 Mon Sep 17 00:00:00 2001 From: Zach Dwiel Date: Fri, 7 Sep 2018 16:06:05 -0400 Subject: [PATCH] typo; increased detail in comment --- rl_coach/coach.py | 2 +- rl_coach/memories/non_episodic/transition_collection.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rl_coach/coach.py b/rl_coach/coach.py index a28c3de..aa18a14 100644 --- a/rl_coach/coach.py +++ b/rl_coach/coach.py @@ -333,7 +333,7 @@ def main(): # Single-threaded runs if args.num_workers == 1: # Start the training or evaluation - task_parameters = TaskParameters(framework_type="tensorflow", # TODO: tensorflow should'nt be hardcoded + task_parameters = TaskParameters(framework_type="tensorflow", # TODO: tensorflow shouldn't be hardcoded evaluate_only=args.evaluate, experiment_path=args.experiment_path, seed=args.seed, diff --git a/rl_coach/memories/non_episodic/transition_collection.py b/rl_coach/memories/non_episodic/transition_collection.py index d721539..4ce1574 100644 --- a/rl_coach/memories/non_episodic/transition_collection.py +++ b/rl_coach/memories/non_episodic/transition_collection.py @@ -22,7 +22,8 @@ class TransitionCollection(object): def __del__(self, range: slice): # NOTE: the only slice used is the form: slice(None, n) # NOTE: if it is easier, what we really want here is the ability to - # constrain the size of the collection. + # constrain the size of the collection. as new transitions are added, + # old transitions can be removed to maintain a maximum collection size. pass def __getitem__(self, key: int):