Skip to content

Commit

Permalink
Fix subtask_id bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoe committed Jun 14, 2023
1 parent 8f74876 commit b18471a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions multiml/agent/basic/sequential.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def execute_pipeline(self, subtasktuples, counter, trial=None):
subtask_env = subtasktuple.env
subtask_hps = copy.deepcopy(subtasktuple.hps)

subtask_env.subtask_id = subtask_id
subtask_env.saver = self._saver
subtask_env.storegate = self._storegate
subtask_env.job_id = counter
Expand Down Expand Up @@ -149,6 +150,7 @@ def execute_differentiable(self, subtasktuples, counter, trial=None):
subtask_env = subtasktuple.env
subtask_hps = copy.deepcopy(subtasktuple.hps)

subtask_env.subtask_id = subtask_id
subtask_env.saver = self._saver
subtask_env.storegate = self._storegate
subtask_env.job_id = counter
Expand Down

0 comments on commit b18471a

Please sign in to comment.