agents icon indicating copy to clipboard operation
agents copied to clipboard

suite_gym.wrap_env fails combining auto_reset=False with wrappers.TimeLimit

Open cmarlin opened this issue 4 years ago • 0 comments

Hi, the wrap_env function allow to mix a time limit with auto_reset disabled, but TimeLimit reset environment without checking this flag.

Note: it seems that TimeLimit implementation mismatch documentation, as the documentation refers to 'handle_auto_reset' arg and specific processing for batched environment.

Thanks

cmarlin avatar Aug 31 '21 08:08 cmarlin