Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List index out of range #2

Open
AndyZCJ opened this issue Dec 30, 2021 · 0 comments
Open

List index out of range #2

AndyZCJ opened this issue Dec 30, 2021 · 0 comments

Comments

@AndyZCJ
Copy link

AndyZCJ commented Dec 30, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant