simoninithomas / Deep_reinforcement_learning_Course

Implementations from the free course Deep Reinforcement Learning with Tensorflow and PyTorch
http://www.simoninithomas.com/deep-rl-course
3.74k stars 1.23k forks source link

Dueling Deep Q Learning with Doom: Memory Error #28

Open WuJunde opened 5 years ago

WuJunde commented 5 years ago

I try to train Doom on my pc, and use the same code on the page. But each time after I training it a while, it occur memory error in stack-frame process. I check my memory usage while training, it keeps increasing while training. I have 16GB RAM, is it enough? Or something wrong about the code?

WuJunde commented 5 years ago

I changed pretrain_length and memory_size to 10000 then it work. But I think my RAM should be enough. Why comment 1million for GPU? it seems out of memory in the first exploration stage with out learning by gpu. I learn it by NIVIDA 1080 Ti GPU.