Skip to content

Running error in 03.Double_DQN.ipynb #9

@Cylkal

Description

@Cylkal
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions