Martyn0324 / SerpentAI

Game Agent Framework. Helping you create AIs / Bots that learn to play any game you own!
http://serpent.ai
MIT License
26 stars 5 forks source link

Insert `del` commands in order to properly free some memory #14

Open Martyn0324 opened 1 year ago

Martyn0324 commented 1 year ago

Unfortunately, SerpentAI is a framework that is too expensive computationally when dealing with AIs to the point that upgrading from Windows 10 to Windows 11 makes some Plugins unusable.

One way to avoid this is by using Python's del command after certain steps during training, which will delete the variable from the hardware and free some space.

Also, using a Tree Memory is obscenely expensive. Perhaps there might be some way to avoid that?