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

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

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'])