reinforcement-learning-algorithms icon indicating copy to clipboard operation
reinforcement-learning-algorithms copied to clipboard

How to visualize reward-epoch?

Open ShaoyuanLi opened this issue 6 years ago • 2 comments

How to visualize reward-epoch? Does It need extra code for post-processing(post-process print infomation) or is there some tools for visualization? I cound not find the extra code in github project.

ShaoyuanLi avatar Aug 22 '18 10:08 ShaoyuanLi

@ShaoyuanLi Hi, for most algorithms in my repository, I record the log information by using python -u train.py 2>&1 | tee loginfo.log. Then, I write a python script to extract the information from it and plot the reward curve. For a2c, I use the scripts of openai-baselines. You could check the code here: https://github.com/openai/baselines/blob/master/baselines/results_plotter.py

TianhongDai avatar Aug 25 '18 16:08 TianhongDai

@ShaoyuanLi And thanks for reminding me, I will update the reward visualising function in the future.

TianhongDai avatar Aug 25 '18 17:08 TianhongDai