Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KuoHaoZeng committed Sep 11, 2024
1 parent 8e03caa commit 1529d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allenact/algorithms/onpolicy_sync/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ def single_batch_generator(streaming_storage: StreamingStorageMixin):

if batch_idx == training_settings.num_mini_batch - 1:
if hasattr(self.actor_critic, "update_networks"):
self.actor_critic.update_networks(info)
self.actor_critic.update_networks(**info)

def close(self, verbose=True):
self._is_closing = True
Expand Down

0 comments on commit 1529d89

Please sign in to comment.