Links Update: The previous link did not work. I updated it to make it work
Run Method: Added a new run method
General Cleaning: Made the code a bit more readable for beginners
Custom Playback: Added a feature to allow user to choose which file they want to playback when replay is true. (Note user cannot choose the save file name, but they can choose what file to playback by changing the model parameter)
Unique_id: Added a unique id to each agent
Doc String: Added details of the model class
Discussion Topic:
While it is possible to now replay models, I feel there are still some things that can be improved,
It is currently not easy to set custom save name for the checkpoint
It is kinda inconvenient to make a new class just to save a file. I think the code could be optimised to make it as simple as something like "pickle.dump". This way it would be easy to save multiple conditional checkpoints in one run. (EDIT: I just noticed it is already under plans in GSOC idea list)
Changes Made:
Discussion Topic:
While it is possible to now replay models, I feel there are still some things that can be improved,