Curt-Park / rainbow-is-all-you-need

Rainbow is all you need! A step-by-step tutorial from DQN to Rainbow
MIT License
1.87k stars 334 forks source link

奇怪的是,rainbow的代码容易出现内存不足的问题 interrupted by signal 9: SIGKILL #43

Closed luo-li-ba-suo closed 3 years ago

luo-li-ba-suo commented 3 years ago

是缓存器的问题吗

Curt-Park commented 3 years ago

Sorry, I don't speak Chinese.

luo-li-ba-suo commented 3 years ago

I have found the reason why it comes to not enough memory: the scores and the losses in DQNAgent should be manually constrainted to a capicity that is not too large.Thank you

Curt-Park commented 3 years ago

Also you can reduce the mini batch size or try it on Colab. Thanks for sharing the reason of the issue. I will close this issue.