Skip to content
Snippets Groups Projects
Commit 7f225140 authored by Armin Co's avatar Armin Co
Browse files

Removed offline Learning

Do not learn with offline data while collecting memories.
Prevents learning fram only a very few memories.
parent b376787b
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,6 @@ def one_episode(environment, agent, render, learn, max_steps=3000): ...@@ -34,8 +34,6 @@ def one_episode(environment, agent, render, learn, max_steps=3000):
if learn: if learn:
agent.learn() agent.learn()
if done: if done:
if learn:
agent.learn(offline=True)
break break
return score return score
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment