You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: