We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IndexError Traceback (most recent call last) in 43 try: 44 clear_output(True) ---> 45 plot_all_data(log_dir, env_id, 'DoubleDQN', config.MAX_FRAMES, bin_size=(10, 100, 100, 1), smooth=1, time=timedelta(seconds=int(timer()-start)), ipynb=True) 46 except IOError: 47 pass c:\Users\Hene\Documents\GitHub\DeepRL-Tutorials\utils\plot.py in plot_all_data(folder, game, name, num_steps, bin_size, smooth, time, save_filename, ipynb) 211 plt.rcParams.update(params) 212 --> 213 tx, ty = load_reward_data(folder, smooth, bin_size[0]) 214 215 if tx is None or ty is None: c:\Users\Hene\Documents\GitHub\DeepRL-Tutorials\utils\plot.py in load_reward_data(indir, smooth, bin_size) 54 for line in f: 55 tmp = line.split(',') ---> 56 t_time = float(tmp[2]) 57 tmp = [t_time, int(tmp[1]), float(tmp[0])] 58 datas.append(tmp) IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Yeah I got this same issue, were you ever able to fix it @Cylkal?
Sorry, something went wrong.
I'm sorry, I can't fix it @M0liusX
@Cylkal @M0liusX, I got this same issue too, and I bring solution.
We have to modify file 'plot.py' in folder 'utils'. We can add if line == '\n': continue between line 54 and line 55 in 'plot.py'.
if line == '\n': continue
Save the changed plot.py, then run again!
No branches or pull requests
The text was updated successfully, but these errors were encountered: