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

in DDQN_torch, line 146, q_next,q_eval4next = self.forward(...), it need two return values in forward() , but the forward() return only a q. #7

Open
jiejiuzhang1579 opened this issue Jun 5, 2024 · 0 comments

Comments

@jiejiuzhang1579
Copy link

jiejiuzhang1579 commented Jun 5, 2024

I think the value of the q_eval4next need a new line of code to get, could you please give a tip how to modify it ?

q_next, q_eval4next = self.forward(batch_memory[:, -self.n_features:], lstm_batch_memory[:, :, self.n_lstm_state:])

@jiejiuzhang1579 jiejiuzhang1579 changed the title Could you please give us a ".yaml" file for creating an certain virtual python environment to run this code ? in DDQN_torch, line 146, q_next,q_eval4next = self.forward(...), it need two retrn vlues in forward() , but the forward() return only a q. Jun 5, 2024
@jiejiuzhang1579 jiejiuzhang1579 changed the title in DDQN_torch, line 146, q_next,q_eval4next = self.forward(...), it need two retrn vlues in forward() , but the forward() return only a q. in DDQN_torch, line 146, q_next,q_eval4next = self.forward(...), it need two return values in forward() , but the forward() return only a q. Jun 5, 2024
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

No branches or pull requests

1 participant