Fixed EnvironmentRun to be properly multiprocess.

Fixed the prioirity of bad states to be the smallest
[TODO] Make EnvironmentEpisode properly multiprocess
This commit is contained in:
Brandon Rozek 2019-02-13 23:47:37 -05:00
parent 115543d201
commit 460d4c05c1
8 changed files with 288 additions and 164 deletions

View file

@ -13,7 +13,7 @@ class DQNAgent:
self.config = deepcopy(config)
self.logger = logger
def learn(self):
def learn(self, logger = None):
if len(self.memory) < self.config['batch_size']:
return