Skip to content
New issue

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

Update batch_polopt.py #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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