Skip to content

Commit

Permalink
[BugFix] Fix CQL/IQL pbar update (#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored Mar 18, 2024
1 parent c29c345 commit 9747170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sota-implementations/cql/cql_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def main(cfg: "DictConfig"): # noqa: F821
# Training loop
start_time = time.time()
for i in range(gradient_steps):
pbar.update(i)
pbar.update(1)
# sample data
data = replay_buffer.sample()
# compute loss
Expand Down
2 changes: 1 addition & 1 deletion sota-implementations/iql/iql_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def main(cfg: "DictConfig"): # noqa: F821
# Training loop
start_time = time.time()
for i in range(gradient_steps):
pbar.update(i)
pbar.update(1)
# sample data
data = replay_buffer.sample()

Expand Down

0 comments on commit 9747170

Please sign in to comment.