Perception TF v1 code savedModel graph says it has no operation #53
Unanswered
Litchilitchy
asked this question in
Q&A
Replies: 2 comments 4 replies
-
oh this is Tf v1 code, I don't think this is readily compatible with TensorFlow 2 |
Beta Was this translation helpful? Give feedback.
4 replies
-
view it on GitHub
At 2021-03-29 10:15:25, "Song Jiaming" ***@***.***> wrote:
nothing wrong, just need to code in with Session if export savedModel. However, if code outside this block it could also save with no exception but could not be used, so weird.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi I am using this repo code
and save it using
and I can use
saved_model_cli
to see the model, following is part of itbut when I use TF2
tf.keras.model.load_model("my_path")
it raise errorKeyError: "The name 'features:0' refers to a Tensor which does not exist. The operation, 'features', does not exist in the graph."
, using java api raise the similar error.Could this save to savedModel? How should I do it correctly?
Beta Was this translation helpful? Give feedback.
All reactions