Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 15, 2024
1 parent 2813d4b commit 8476c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sota-implementations/gail/gail.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def update(data, expert_data, num_network_updates=num_network_updates):

# Update the networks
optim.step()
return TensorDict(dloss=d_loss, alpha=alpha).detach()
return {"dloss": d_loss, "alpha": alpha}

if cfg.compile.compile:
update = compile_with_warmup(update, warmup=2, mode=compile_mode)
Expand Down

0 comments on commit 8476c5e

Please sign in to comment.