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

Tensor.detach()の仕様について #13

Open
CURRY-AND-RICE opened this issue Sep 13, 2022 · 0 comments
Open

Tensor.detach()の仕様について #13

CURRY-AND-RICE opened this issue Sep 13, 2022 · 0 comments

Comments

@CURRY-AND-RICE
Copy link

pytorch版のdqn.pyの83行目で、ターゲットネットワークを計算グラフから切り離す意図のコードがあると思いますが、
ソースコード中の

next_q.detach()

next_q = next_q.detach()

の間違いではないでしょうか。

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