Skip to content

List index out of range #2

Description

@AndyZCJ

Hi, I am trying to train the code, but it appeared this issue.

Traceback (most recent call last):
File "a2c_devel.py", line 381, in
train(config)
File "a2c_devel.py", line 299, in train
last_reward_logged = tb_plot_from_monitor(writer, log_dir, np.mean(config.adaptive_repeat), last_reward_logged, 'episode length')
File "D:\ICM\utils\plot.py", line 420, in tb_plot_from_monitor
x, y = load_raw_eplength_data(log_dir, 1, 1) #load data
File "D:\ICM\utils\plot.py", line 395, in load_raw_eplength_data
t_time = float(tmp[2])
IndexError: list index out of range

Could you tell me how to fix this problem? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions