You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to save the World object to analyze later, but when saving with either:
model1.uw.save("model1_uw.pickle")
or
importsyssys.setrecursionlimit(1000000) # Example: Set the limit to 1500, adjust as neededwithopen("model_instance.pickle", "wb") asf:
pickle.dump(model1.uw, f, protocol=pickle.HIGHEST_PROTOCOL)
It throws a RecursionError: maximum recursion depth exceeded message.
Reproduce
I don't have a minimal reproducible example yet, buy it can be observed by running model.py in this repo and adding model1.uw.save("model1_uw.pickle") at the bottom. The error can also be observed in this CI run.
The text was updated successfully, but these errors were encountered:
I believe this is a limitation of dill package for pickling. Is it possible to identify which object is causing this error? It may be possible to remove that object if it was too redundant.
I would like to save the World object to analyze later, but when saving with either:
or
It throws a
RecursionError: maximum recursion depth exceeded
message.Reproduce
I don't have a minimal reproducible example yet, buy it can be observed by running
model.py
in this repo and addingmodel1.uw.save("model1_uw.pickle")
at the bottom. The error can also be observed in this CI run.The text was updated successfully, but these errors were encountered: