-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Problem on multiprocessing with TD3 #1659
Comments
Hello,
the error is pretty explicit and duplicate of #1032 (comment) and #1034 In short, change the default to |
|
Then i encountered with another problem with using the trained model:
error:
I can run the code with the commented out lines:
Where is the difference with the code with an without multiprocess? |
Your code doesn't seem to work. You use |
Hallo,
for the make_vec_env, I was just trying to figure out, is it they way I define the env wrong. Because I trained the model with flattenenv.
|
Thank you guys I found where it goes different:
after make_vec_env() .reset90 will just return obs, and ignore my info. the wrapper is slightly different than newer gymnasium |
🐛 Bug
"You must use only one env when doing episodic training." from error report
Minimum code needs to be set up so it would be long then it can run.
Code example
the codes that use multiprocess, after importing all the things:
Relevant log output / Error message
The text was updated successfully, but these errors were encountered: