-
Notifications
You must be signed in to change notification settings - Fork 96
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
Load trained models #186
Comments
Ah .. was just thinking about posting on this exact same thing :-) Would like to load a locally saved tf_hub model, e.g., USE (https://tfhub.dev/google/universal-sentence-encoder/4). Searched for quite some time in the api, but couldn't find anything. Is this possible? Something to the effect of:
|
It seems like the saved_model class and related utilities are available only in python and java. May be this is written as an utility in those languages. I couldn't find a reference to this in C++ API. Considering that this library is a wrapper on C++, it is somewhat unlikely to have this functionality. It is probably still possible to write such an utility in this library as well, maintaining the same general classnames etc. Here are 2 implementations in Scala and Java through the Java library:
Waiting for @eaplatanios to respond if possible. |
Is it possible to load in to tensorflow_scala models generated in python "main" tensorflow? I can't find anywhere who to do it.
Thanks
The text was updated successfully, but these errors were encountered: