Closed vwxyzjn closed 1 year ago
is this safe to ignore?
No, it is an error you need to care about. By design, envpool never allows users to use multiple reset function calls. You should do either one of the following patterns:
env.async_reset()
env.recv()
env.send(...)
env.recv()
env.send(...)
...
or
env.reset()
env.step(...)
env.step(...)
...
Makes sense. Closing the issue.
Describe the bug
env.reset()
andenv.async_reset()
results in illegal instructions. This warrants a better error message.To Reproduce
Expected behavior
A better error message should be available like saying
env.reset()
andenv.async_reset()
cannot be used at the same time.