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 using anaconda installed enviroment.yml in Window 10.
I tried training a RL agent on a specific SRL model, error happened in function 'rl_baseline/visyalize.py/loadCSV()'
error is cant load file '0.monitor.csv'
after the absolute path of CSV file was added into the function, the file could be found but the 'result' was still empty '[]'
whether this function need some changes in WIN10?
The text was updated successfully, but these errors were encountered:
i have fixed this error and the code is ok using
for input_file in monitor_files:
t_time = pd.read_csv(input_file, skiprows=1, dtype=np.float64)["t"].values
l_l = pd.read_csv(input_file, skiprows=1)["l"].values
r_reward = pd.read_csv(input_file, skiprows=1, dtype=np.float64)["r"].values
data = np.row_stack((t_time, l_l, r_reward)).transpose() instead of
for input_file in monitor_files:
data = []
with open(input_file, 'r') as f:
f.readlines()
f.readlines()
for line in f:
tmp = line.split(',')
t_time = float(tmp[2])
tmp = [t_time, int(tmp[1]), float(tmp[0])]
data.append(tmp)
when using anaconda installed enviroment.yml in Window 10.
I tried training a RL agent on a specific SRL model, error happened in function 'rl_baseline/visyalize.py/loadCSV()'
error is cant load file '0.monitor.csv'
after the absolute path of CSV file was added into the function, the file could be found but the 'result' was still empty '[]'
whether this function need some changes in WIN10?
The text was updated successfully, but these errors were encountered: