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

请问apply_gradients 这个函数要加锁吗? #52

Closed
michelliming opened this issue May 18, 2018 · 2 comments
Closed

请问apply_gradients 这个函数要加锁吗? #52

michelliming opened this issue May 18, 2018 · 2 comments

Comments

@michelliming
Copy link

因为A3C是多线程的运行, 都是对全局网络更新, 不加锁会有问题吗?

@MorvanZhou
Copy link
Owner

按理来说应该是要加锁的,但是实验中不加锁也没什么关系

@michelliming
Copy link
Author

谢谢。不加锁 会不会导致梯度更新出现问题, 不符合a3c的设计。

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