edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
902 stars 63 forks source link

Adds saving model on `ctrl + c` in Python during training #160

Closed Ivan-267 closed 8 months ago

Ivan-267 commented 9 months ago

This PR resolves https://github.com/edbeeching/godot_rl_agents/issues/150.

This feature was also previously asked about on Discord.

Ivan-267 commented 9 months ago

I tested this a bit while training an env, there was a small issue but it was env related. It seems the PR solution is working OK so far.