simoninithomas / Deep_reinforcement_learning_Course

Implementations from the free course Deep Reinforcement Learning with Tensorflow and PyTorch
http://www.simoninithomas.com/deep-rl-course
3.74k stars 1.23k forks source link

Logging for graphing #44

Closed slerman12 closed 5 years ago

slerman12 commented 5 years ago

The logging method used here is the Baselines logger, and it looks like the output of this logger (in the A2C Sonic code) is in training.txt. Is there a way to modify the logger code in model.py to output to a specific file (such as training.txt) and moreover, to do so in a format more accessible for graphing, such as CSV?

slerman12 commented 5 years ago

Secondly, could this code possibly be modified such that reward is logged as well? I need to be able to graph the progress of the agent.