Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a bug of target repr in SAC #1580

Merged
merged 1 commit into from
Dec 13, 2023
Merged

fix a bug of target repr in SAC #1580

merged 1 commit into from
Dec 13, 2023

Conversation

hnyu
Copy link
Collaborator

@hnyu hnyu commented Dec 13, 2023

No description provided.

@hnyu hnyu requested a review from emailweixu December 13, 2023 00:17
@hnyu hnyu changed the title fix a bug of target repr fix a bug of target repr in SAC Dec 13, 2023
@@ -884,7 +886,7 @@ def train_step(self, inputs: TimeStep, state: SacState,
# usage can be reduced because its computation graph will not be kept.
with torch.no_grad():
tgt_repr_step = self._target_repr_alg.predict_step(
inputs, rollout_info.repr)
inputs, state.target_repr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect "rollout_info.repr" is from copilot.

@hnyu hnyu merged commit 0629031 into pytorch Dec 13, 2023
@hnyu hnyu deleted the PR_fix_target_repr branch December 13, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants