Hi Everyone. I found this error when I build my project for add forecasting but was unable to do this due to an internal server error.
here is the problem. Can’t pickle weakref objects Keras mdoel
Please don’t double post here. It’s not helpful and will not get you a response any quicker.
actually, in my first post I share the link of my stack. i think, may or may not people redirect there so that I post complete problem here
For your future reference, you could have edited the original posting and replaced the link with the complete post. Or, after adding the second post, you could have deleted the first.
Try using dill to serialize your models instead of the stdlib pickle
Same issue when I am using dill as well as pickle.