Skip to content

Commit

Permalink
Update LOOP
Browse files Browse the repository at this point in the history
  • Loading branch information
hari-sikchi committed Oct 12, 2021
1 parent c8b0366 commit 25d140e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_loop_sac.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def run_loop(args):
dynamics_trainloss,dynamics_valloss = dynamics.train()
logger.store(DynamicsTrainLoss = dynamics_trainloss, DynamicsValLoss = dynamics_valloss)

# This was above dynamics training when everything was wokring fine

if args.policy in lookahead_policies:
if t >= args.start_timesteps and t%sac_policy.update_every==0:
sac_policy.train()
Expand Down

0 comments on commit 25d140e

Please sign in to comment.