Skip to content

Commit 8f04c77

Browse files
committed
Don't raise exception on physics error.
This is now default behavior. Raised exceptions can be proglematic when training agents in batches or in a distributed manner.
1 parent 07e8b39 commit 8f04c77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dm_robotics/panda/environment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def build_task_environment(self) -> subtask_env.SubTaskEnvironment:
8888

8989
env_builder.set_action_space(full_action_space)
9090
env = env_builder.build()
91+
env._env._raise_exception_on_physics_error = False
9192

9293
return env
9394

0 commit comments

Comments
 (0)