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

remove unnecessary parentheses

This commit is contained in:
zach dwiel
2019-04-04 14:57:08 -04:00
committed by Zach Dwiel
parent dddaefb210
commit 83da5cde2f

View File

@@ -77,7 +77,7 @@ def rollout_worker(graph_manager, data_store, num_workers, task_parameters):
last_checkpoint = 0
# this worker should play a fraction of the total playing steps per rollout
act_steps = math.ceil((graph_manager.agent_params.algorithm.num_consecutive_playing_steps.num_steps)/num_workers)
act_steps = math.ceil(graph_manager.agent_params.algorithm.num_consecutive_playing_steps.num_steps/num_workers)
for i in range(math.ceil(graph_manager.improve_steps.num_steps/act_steps)):