Uncategorized

tensorflow – Why my python script gets killed inside WSL?


I’m trying to run a ML program inside wsl (to exploit my gpu) but my script gets “killed” without explanation during the generation and simulation of games (i.e. the AI playing against itself). I explicitly del(ete) the games_data variable and call garbage collector but it seems that the memory isn’t freed up and after let’s say 7 iteration of the main loop it crashes. What could be the problem? My host machine has 32 Gb of RAM.

I tried explicitly freeing up memory, and using profiling tools to review the memory usage.
My code is available at + https://github.com/Mathialist/GomokuAI



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *