Skip to content

Commit

Permalink
silly bug
Browse files Browse the repository at this point in the history
  • Loading branch information
manila95 committed Oct 6, 2023
1 parent e273250 commit 6b49954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cleanrl/ppo_continuous_action_wandb.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def train(cfg):
#print(global_step)
# update_risk = 0
# while update_risk < cfg.num_update_risk:
for epoch in cfg.num_risk_epochs:
for epoch in range(cfg.num_risk_epochs):
if cfg.finetune_risk_online:
print("I am online")
data = rb.slice_data(-cfg.risk_batch_size*cfg.num_update_risk, 0)
Expand Down

0 comments on commit 6b49954

Please sign in to comment.