misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli committed 2019-10-25 13:21:08 +02:00
1 parent 8b00e0ae10
commit 2c9f54567f
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ def load(config, agent, epoch, from_disk=True):
start = time.time()
a2c = A2C(MlpLstmPolicy, env, **config['params'])
logging.debug("[ai] A2C crated in %.2fs" % (time.time() - start))
logging.debug("[ai] A2C created in %.2fs" % (time.time() - start))
if from_disk and os.path.exists(config['path']):
logging.info("[ai] loading %s ..." % config['path'])