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

Why are Q network and target network the same? #31

Open
QionghuaLiao opened this issue Dec 27, 2021 · 1 comment
Open

Why are Q network and target network the same? #31

QionghuaLiao opened this issue Dec 27, 2021 · 1 comment

Comments

@QionghuaLiao
Copy link

Usually, the Q Network is trained while the parameters of target network are fixed. And every certain steps, the parameters of Q Network will be copied to Target Network. But when I check your code, I find that the Q Network and the Target Network are the same neural network, which confuses me. Could you please help me out?

@wxwmd
Copy link

wxwmd commented Aug 9, 2022

你说的机制是为了减少训练的震荡,这个demo项目就没采用这个机制,直接每步都让q网络更新呗,这有啥confuse的。。。。。。。

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

2 participants