-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
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
How to save a trained model? #39
Comments
Hi @akshit96, |
Any ideas how to save model for tf serving? Examples provide only python model saving and loading. But I do not want to use python for already trained model. |
You can save bias, weights, vectors in a file and calculate the prediction manually. |
According to this answer https://stackoverflow.com/a/47982699/1579570 it is does not seem easy. |
I did by saving the weights and predicting manually in a java code. It worked. |
This is what we do and it works fine. |
How can I save a trained tffm for future predictions ?
The model object cannot be pickled due to thread.RLock type object and isn't json serializable either.
The text was updated successfully, but these errors were encountered: