Fixed comment on example usage in jupyter-notebook (#396)
Cause of error: Import name must be results_plotter, not log_viewer.
This commit is contained in:
@@ -72,9 +72,9 @@ def plot_results(dirs, num_timesteps, xaxis, yaxis, task_name):
|
|||||||
plot_curves(xy_list, xaxis, yaxis, task_name)
|
plot_curves(xy_list, xaxis, yaxis, task_name)
|
||||||
|
|
||||||
# Example usage in jupyter-notebook
|
# Example usage in jupyter-notebook
|
||||||
# from baselines import log_viewer
|
# from baselines import results_plotter
|
||||||
# %matplotlib inline
|
# %matplotlib inline
|
||||||
# log_viewer.plot_results(["./log"], 10e6, log_viewer.X_TIMESTEPS, "Breakout")
|
# results_plotter.plot_results(["./log"], 10e6, results_plotter.X_TIMESTEPS, "Breakout")
|
||||||
# Here ./log is a directory containing the monitor.csv files
|
# Here ./log is a directory containing the monitor.csv files
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Reference in New Issue
Block a user