File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,7 @@ def collect(
340340
341341 # --- Initializations ---
342342 collected_episode = 0
343+ collected_step = 0
343344 env_nums = self ._env_num
344345 retry_waiting_time = 0.05
345346
@@ -411,7 +412,7 @@ def collect(
411412 # Policy Forward Pass
412413 # ==============================================================
413414 policy_input = {
414- 'x ' : stack_obs_tensor ,
415+ 'data ' : stack_obs_tensor ,
415416 'action_mask' : action_mask ,
416417 'temperature' : temperature ,
417418 'to_play' : to_play ,
@@ -679,4 +680,4 @@ def _output_log(self, train_iter: int) -> None:
679680
680681 if self .policy_config .use_wandb :
681682 wandb_log_data = {tb_prefix_step + k : v for k , v in info .items ()}
682- wandb .log (wandb_log_data , step = self ._total_envstep_count )
683+ wandb .log (wandb_log_data , step = self ._total_envstep_count )
You can’t perform that action at this time.
0 commit comments