Skip to content

Commit

Permalink
[major] no longer append additional (s, a, r) to the replay buffer af…
Browse files Browse the repository at this point in the history
…ter each episode
  • Loading branch information
Hanrui-Wang committed Jul 21, 2019
1 parent 651c346 commit 4d10c98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions amc_search.py
Expand Up @@ -154,11 +154,11 @@ def train(num_episode, agent, env, output):
if episode > args.warmup:
agent.update_policy()

agent.memory.append(
observation,
agent.select_action(observation, episode=episode),
0., False
)
#agent.memory.append(
# observation,
# agent.select_action(observation, episode=episode),
# 0., False
#)

# reset
observation = None
Expand Down

0 comments on commit 4d10c98

Please sign in to comment.