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
When I try to dump a model, I receive the following error: TypeError: no default __reduce__ due to non-trivial __cinit__
I am running a basic model as such:
I even tried pickling without using dump.dump as such to no avail.
with open(file_name, 'wb') as f:
pickle.dump(algo, f)
Lastly, I created a wrapper class that inherits from the SVD model where I manually wrote in the __reduce__ function. This also did not work. I am very stuck and unsure how to save the model
The text was updated successfully, but these errors were encountered:
Hi there,
When I try to dump a model, I receive the following error:
TypeError: no default __reduce__ due to non-trivial __cinit__
I am running a basic model as such:
I even tried pickling without using dump.dump as such to no avail.
Lastly, I created a wrapper class that inherits from the SVD model where I manually wrote in the
__reduce__
function. This also did not work. I am very stuck and unsure how to save the modelThe text was updated successfully, but these errors were encountered: