1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-18 11:40:18 +01:00

typo; increased detail in comment

This commit is contained in:
Zach Dwiel
2018-09-07 16:06:05 -04:00
committed by zach dwiel
parent a1295d16b3
commit 5758c2f23e
2 changed files with 3 additions and 2 deletions

View File

@@ -333,7 +333,7 @@ def main():
# Single-threaded runs # Single-threaded runs
if args.num_workers == 1: if args.num_workers == 1:
# Start the training or evaluation # 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, evaluate_only=args.evaluate,
experiment_path=args.experiment_path, experiment_path=args.experiment_path,
seed=args.seed, seed=args.seed,

View File

@@ -22,7 +22,8 @@ class TransitionCollection(object):
def __del__(self, range: slice): def __del__(self, range: slice):
# NOTE: the only slice used is the form: slice(None, n) # 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 # 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 pass
def __getitem__(self, key: int): def __getitem__(self, key: int):