Farama-Foundation / D4RL

A collection of reference environments for offline reinforcement learning
Apache License 2.0
1.35k stars 285 forks source link

Remove unused rendering from Kitchen Environments. #187

Closed jhejna closed 1 year ago

jhejna commented 2 years ago

Description

By default the Franka Kitchen environments render very large images, which are not used by policies. This makes running evaluation with the gym API much slower than it needs to be. Simply commenting out this line makes everything much faster.

Fixes evaluation speed for Franka Kitchen environments

Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

pseudo-rnd-thoughts commented 2 years ago

Thanks for the PR, that is very interesting and important to note.

As users might use this data, we will not change this in main but if this is an issue, I would change your local install with this update.

Could you change the PR to just add a comment on the environment to note this issue and the solution for other users.