Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrasohan committed Nov 30, 2018
1 parent bba5cfc commit 3e28aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baselines/ddpg/ddpg.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def learn(network, env,
eval_env=None,
param_noise_adaption_interval=50,
load_path = None,
save_path = '<specify/path>'
save_path = '<specify/path>',
**network_kwargs):

set_global_seeds(seed)
Expand Down Expand Up @@ -274,7 +274,7 @@ def as_scalar(x):
with open(os.path.join(logdir, 'eval_env_state.pkl'), 'wb') as f:
pickle.dump(eval_env.get_state(), f)

os.mkdirs(logdir,exist_ok=True)
os.makdirs(logdir,exist_ok=True)
savepath = os.path.join(save_path, str(epoch))
print('Saving to ',savepath)
agent.save(savepath)
Expand Down

0 comments on commit 3e28aee

Please sign in to comment.