TianhongDai / esil-hindsight

This is the official code of our paper "Episodic Self-Imitation Learning with Hindsight" [Electronics 2020].
MIT License
7 stars 2 forks source link

Comparison of ablation experiments chart #4

Closed zhangyuanyuan123456 closed 1 year ago

zhangyuanyuan123456 commented 3 years ago

Hello! I'm very interested in your research! I want to reproduce your paper, the result is very good, but can you provide the code of the comparison chart in your paper? As shown in Figures 4 and 5. I don't know how to achieve this! thank you

zhangyuanyuan123456 commented 3 years ago

~Z~$B%3 BL@(5~ IA)U HV

Like this picture, can you teach me how to do it? thank you!

TianhongDai commented 3 years ago

@zhangyuanyuan123456 Sorry for responding late, do you mean the code for drawing the plots? I will upload the code for drawing the plots after several hours.

TianhongDai commented 3 years ago

@zhangyuanyuan123456 I have uploaded the script to plot curves in plot_curves.py. In order to get the log info, you could try the following command:

mpirun -np 16 python -u train.py --env-name='FetchPush-v1' --adaptive-beta --display-interval=1 --total-frames=2500000 2>&1 | tee seed_1.log

Alternatively, you can also use logging package in python to record the log information. Furthermore, you need to install seaborn package to make sure you can run the plot_curves.py.