Giter Site home page Giter Site logo

How to render the environment? about rllab HOT 5 CLOSED

rll avatar rll commented on June 17, 2024
How to render the environment?

from rllab.

Comments (5)

dementrock avatar dementrock commented on June 17, 2024

Does setting plot=True work?

https://github.com/rllab/rllab/blob/master/examples/trpo_cartpole_stub.py#L29

from rllab.

lchenat avatar lchenat commented on June 17, 2024

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

from rllab.

dementrock avatar dementrock commented on June 17, 2024

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

from rllab.

lchenat avatar lchenat commented on June 17, 2024

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

from rllab.

lchenat avatar lchenat commented on June 17, 2024

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.

from rllab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.