devendrachaplot / DeepRL-Grounding

Train an RL agent to execute natural language instructions in a 3D Environment (PyTorch)
https://sites.google.com/view/gated-attention/home
MIT License
237 stars 37 forks source link

About the Vizdoom problem #11

Closed pengzhi1998 closed 4 years ago

pengzhi1998 commented 4 years ago

Hi, I have a question about the VizDoom environment in your project. It seems like for every loop, you didn't do game.close() but just reset it, will this cause memory leak problems?

devendrachaplot commented 4 years ago

Hi, No, this doesn't cause any memory leaks. The reset function does not start a new game environment, it only starts a new episode in the same game environment.