Skip to content

Conversation

@hshyunsookim
Copy link

Added a line to initialize plotter.init_worker() before plotter.init_plot() can add 'update' process to the Queue.

Added a line to initialize plotter.init_worker() before plotter.init_plot() can add 'update' process to the Queue.
@dementrock
Copy link
Member

Hi @hshyunsookim, thanks for the pull request! Usually plotter should be used along with the stub mode, in which case the experiment will be launched via the run_experiment_lite.py script: https://github.com/rllab/rllab/blob/master/scripts/run_experiment_lite.py#L73. Initializing the plotter worker twice may run into trouble.

If you'd really want to run plotter without stub mode, can you add a check to avoid the worker process being initialized twice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants