We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Batch instances are creating infinite recursive loop when used in argument of a multiprocessing Pipe. Here is a snippet to reproduce the issue.
from tianshou.data import Batch from multiprocessing import Pipe (p, c) = Pipe() c.send(Batch(a=1.0)) print(p.recv())
Similarly, using Pickle without multiprocessing produces the same issue.
from tianshou.data import Batch import pickle pickle.dump(Batch(a=1.0), open("save.p", "wb")) pickle.load(open("save.p", "rb"))
I'm going to open a PR that fixes the issue.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Batch instances are creating infinite recursive loop when used in argument of a multiprocessing Pipe. Here is a snippet to reproduce the issue.
Similarly, using Pickle without multiprocessing produces the same issue.
I'm going to open a PR that fixes the issue.
The text was updated successfully, but these errors were encountered: