Skip to content

Commit 7e58989

Browse files
committed
* fixed break condition
1 parent 1cc7973 commit 7e58989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/agents/a3cSingleProcess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def _rollout(self, episode_steps, episode_reward):
268268
self.master.frame_step.value += 1
269269

270270
# NOTE: we put this condition inside to make sure this current rollout won't be empty
271-
if self.master.train_step.value < self.master.steps:
271+
if self.master.train_step.value >= self.master.steps:
272272
break
273273

274274
return episode_steps, episode_reward

0 commit comments

Comments
 (0)