Giter Club home page Giter Club logo

Comments (7)

stepjam avatar stepjam commented on August 15, 2024

I just pushed something that will help with:

When I create a Vision sensor in the environment, even if I don't invoke capture_rgb(), the task steps become dramatically slower.

This should no longer be the case.

To get the fastest step time possible

  • Only enable the cameras that you need using the ObservationConfig.
  • Using the OPENGL renderer over the OPENGL3 rendrer will be much faster. The former uses shadows which does increase rendering time.
  • If you must have shadows, then decreasing the number of lights will decrease rendering time.

from rlbench.

bycn avatar bycn commented on August 15, 2024

Thanks. Any ideas for the different timings for steps?

from rlbench.

stepjam avatar stepjam commented on August 15, 2024

Not sure what you mean; but on my desktop I get 0.07s per step with all observations enabled (rgb, depth, mask) for all 4 cameras (OPENGL3 renderer), using the joint velocity action mode.

from rlbench.

bycn avatar bycn commented on August 15, 2024

pyrep.py:209: UserWarning: Could no
t change simulation timestep. You may need to change it to "custom dt" using simulation
settings dialog.

Maybe related to this? Basically it’s calling simextstep ~20 times on some of the steps..

from rlbench.

stepjam avatar stepjam commented on August 15, 2024

from rlbench.

bycn avatar bycn commented on August 15, 2024

Ah, that was it! Thanks! (Assuming you meant the gripper open/close, after I fixed the action it stopped.)

from rlbench.

bycn avatar bycn commented on August 15, 2024

I think perhaps the velocity should be changed when headless? I think that would make it faster for sims.
done = self._robot.gripper.actuate(ee_action, velocity=0.04 => 1)

from rlbench.

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.