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

Not able to run visualization of the environment #5

Open
JelenaTrisovic opened this issue Jul 22, 2020 · 0 comments
Open

Not able to run visualization of the environment #5

JelenaTrisovic opened this issue Jul 22, 2020 · 0 comments

Comments

@JelenaTrisovic
Copy link

JelenaTrisovic commented Jul 22, 2020

When running main.py, I use the argument --vis (among others) in order to visualize the environment. However, I keep getting the following error:

File "C:\Users\jelena\dal-master\a2c_ppo_acktr\visualize.py", line 69, in load_data
t_time = float(tmp[2])
IndexError: list index out of range

This seems to occur due to the structure of the Monitor.csv files saved in log_dir that only contain two inputs. (# {"t_start": 1595402349.3871763, "env_id": "dal-v0"} r,l,t). Apparently, load_data expects that more lines should be present, but I cannot understand why those are not there, as I did not change any of the original code. Do you have an idea why this may be happening?

Thanks a lot for your time!

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