-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example play from main Readme stops after a short time with: RuntimeError: Tried to step environment that needs reset #910
Comments
I got same error too. Help me. |
Me too. Please help us. |
I get the same error for a2c, acktr, ppo2 and acer. |
- Removed interfering calls to env.reset() in play mode. (Note that the worker in the subprocess is calling env.reset() already) - Fixed the printed reward when running multiple envs in play mode.
* Update the commands to install Tensorflow The current 'tensorflow' package is for Tensorflow 2, which is not supported by the master branch of baselines. * Update command to install Tensorflow 1.14 * Fix RuntimeError (#910) - Removed interfering calls to env.reset() in play mode. (Note that the worker in the subprocess is calling env.reset() already) - Fixed the printed reward when running multiple envs in play mode.
I find that if you delete the 'obs = env.reset()' in the 'run.py', the error is thrown for deepq. |
I agree, the error occurs now for trpo_mpi and deepq |
Is this issue fixed? I got the same error today. but it worked yesterday.... |
Still getting the same error. Anyone know how to fix it? |
I tried to run the example as given on the main Readme:
it stops after a short time with:
The text was updated successfully, but these errors were encountered: