-
Notifications
You must be signed in to change notification settings - Fork 429
TensorFlow 2.3 SavedModel: Operation Not Found #282
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
Comments
There is a screenshot from tensorboard (it shows that my input exists) and archive with saved model. Please, let me know what information I need to provide or how can I help. Thanks. |
I think what TensorBoard is displaying is not the operation names (or at
least not always), but the names from the signature, instead. The way to
fix the Rust code is to load the signature and get the operation names from
it. Take a look at how the eval function in
https://github.com/tensorflow/rust/blob/master/examples/xor.rs works. In
your case, though, it looks like REGRESS_METHOD_NAME, REGRESS_INPUTS, and
REGRESS_OUTPUTS should be replaced with "serving_default", "test_in_input",
and "test_out".
I'll mark Session::from_saved_model as deprecated, because
SavedModelBundle::load is strictly more powerful.
…On Tue, Nov 10, 2020 at 1:42 PM Dmitriy Shamatrin ***@***.***> wrote:
[image: Screenshot 2020-11-10 at 23 38 32]
<https://user-images.githubusercontent.com/2946069/98736993-44c56180-23ae-11eb-9683-6c2bcf4fa0f7.png>
[saved_model.tar.gz](
https://github.com/tensorflow/rust/files/5520332/saved_model.tar.gz)
There is a screenshot from tensorboard and archive with saved model.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#282 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIU7RLESKBN5REJMQECCNDSPGXUPANCNFSM4TRGBEEA>
.
|
By the way, the mailing list is a good place to ask questions like this. |
@adamcrume thanks! Next time I will use the mailing list for questions, but this particular looked like a bug for me, but it works now. Can I create an example with Keras and raise a pull request to have it in the examples list to avoid questions like this in the future? |
Yes, a Keras example would definitely be welcome!
…On Thu, Nov 12, 2020, 12:21 AM Dmitriy Shamatrin ***@***.***> wrote:
@adamcrume <https://github.com/adamcrume> thanks! Next time I will use
the mailing list for questions, but this particular looked like a bug for
me, but it works now.
Can I create an example with Keras and raise a pull request to have it in
the examples list to avoid questions like this in the future?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#282 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIU7RKDOFGY375DRAAEWNDSPOLI3ANCNFSM4TRGBEEA>
.
|
* DataColumn exposes definition and repetition levels. Much stricter check for schema. * bug fixed (tensorflow#282): FSC understands nulls on non-atomic level * updating docs * oops!
Hello!
After 0.16 version has been released we decided to switch to TF2.
The issue is that it can't find the op by name even if this OP is present in the graph (checked with tensorboard and dumped model).
Could someone please help me or show me where I am wrong? Or it is better for now go back to TF1?
My system:
To reproduce it, please, use the examples.
This code produces the simple Sequential model using Keras:
This rust code tries to load this model and calculate something (please, note that I also tried test_in as input name, the result is the same):
But it returns the following error:
Thanks.
The text was updated successfully, but these errors were encountered: