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 was working with a customer who was trying to use the pzmm.PickleModel.pickleTrainedModel() function on a TensorFlow model, but they were getting a 'TypeError: can't pickle weakref objects'. My ideal solution would be to for the PickleTrainedModel() function to have the ability to ingest Tensorflow models or have a similar function available for Tensorflow models. For now, I think the work-around would be to use Tensorflow's save() function to save the model, make that model available to Model Manager, and then edit the score code to use Tensorflow's load_model() function instead of un-pickling the model, but I am open to other work-around ideas.
The text was updated successfully, but these errors were encountered:
I was working with a customer who was trying to use the pzmm.PickleModel.pickleTrainedModel() function on a TensorFlow model, but they were getting a 'TypeError: can't pickle weakref objects'. My ideal solution would be to for the PickleTrainedModel() function to have the ability to ingest Tensorflow models or have a similar function available for Tensorflow models. For now, I think the work-around would be to use Tensorflow's save() function to save the model, make that model available to Model Manager, and then edit the score code to use Tensorflow's load_model() function instead of un-pickling the model, but I am open to other work-around ideas.
The text was updated successfully, but these errors were encountered: