Skip to content
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 convert the ckpt model into savedmodel #126

Open
Homura2333 opened this issue Mar 14, 2021 · 1 comment
Open

How to convert the ckpt model into savedmodel #126

Homura2333 opened this issue Mar 14, 2021 · 1 comment

Comments

@Homura2333
Copy link

In order to serve with tf-serving, the model needs to be converted into savedmodel. How to convert the ckpt model into savedmodel?

@Homura2333
Copy link
Author

Why does not the output op have shape?

I run the following code:
print(graph.get_operation_by_name("input_image").outputs[0].shape)
print(grpah.get_operation_by_name("output_image").outputs[0].shape)

and got the following results:
(256,256,3)
()

So why is the output empty? This leads to the results that the converted saved model can not apply to triton inference server or tf-serving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant