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

How to render the environment? #41

Closed
lchenat opened this issue Sep 16, 2016 · 5 comments
Closed

How to render the environment? #41

lchenat opened this issue Sep 16, 2016 · 5 comments

Comments

@lchenat
Copy link
Contributor

lchenat commented Sep 16, 2016

Hi, can I render the box2D tasks during the training? I could not find relevant parameters in algo class.

@dementrock
Copy link
Member

@lchenat
Copy link
Contributor Author

lchenat commented Sep 17, 2016

I first got a None type object error. It worked after I added 'plotter.init_worker()' in start_worker() in batch_polopt.py . Thanks!

@dementrock
Copy link
Member

Interesting. Did you uncomment both lines of plot=True?

@lchenat
Copy link
Contributor Author

lchenat commented Sep 19, 2016

Oh, I did not uncomment the second line. It worked after both lines are uncommented. Thanks.

@lchenat
Copy link
Contributor Author

lchenat commented Sep 19, 2016

In fact I did not use run_experiment_lite() in my program. If I only uncomment the first line and then call algo.train() I will get None type object error.

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

No branches or pull requests

2 participants