Open zhijiejia opened 4 years ago
import pickle
path = "" agent_num = 3
print("....................") print("state_reward_all") print("....................")
f = open('../report/' + path + '/stat_reward_all.pkl', 'rb') info = pickle.load(f, encoding='iso-8859-1') # Soso for i in info: print(i)
To see the visual environment, use the --display
option with train.py
but this is not recommended during training.
What you should do is after finishing training, load the saved policy visually as below:
train.py --restore --display
This is assuming that you used the default save_dir
otherwise use the option --load-dir
to indicate your custom load_dir
I have train it success but how to run? How to see the visible answer?