Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/a3c.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def env_runner(env, policy, num_local_steps, summary_writer, render, predictor,
if terminal_end:
break

if not terminal_end:
else:
rollout.r = policy.value(last_state, *last_features)

# once we have enough experience, yield it, and have the ThreadRunner place it on a queue
Expand Down