You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was trying to load a model using SavedModelBundle.load(savedModelPath, "serve") but ran into the operand "" does not exist on the graph issue. Error log:
Looking into Tensorflow Java source code this error is raised here.
And by inspecting the model being loaded the corresponding input tensor is coo_sparse encoded:
It appears to me that when building TensorDescription the library doesn't take coo_sparse encoded format into account: code link: it's trying to fetch the name field which is always empty for coo_sparse encoded format, because together with the name field it's oneof in TensorInfo proto: code link.
Is this a known unsupported feature or would the model loading just work if the validation is bypassed?
The text was updated successfully, but these errors were encountered:
As we pass in variables by name when functions are called then having something without a name is going to break if you skip the validation (unless you don't use that argument). For outputs it might just about be possible to make it work, I'm not sure if we have a way of dealing with things by position. How do you call this function from TF Python?
Was trying to load a model using
SavedModelBundle.load(savedModelPath, "serve")
but ran into theoperand "" does not exist on the graph
issue. Error log:Looking into Tensorflow Java source code this error is raised here.
And by inspecting the model being loaded the corresponding input tensor is
coo_sparse
encoded:It appears to me that when building
TensorDescription
the library doesn't takecoo_sparse
encoded format into account: code link: it's trying to fetch thename
field which is always empty forcoo_sparse
encoded format, because together with thename
field it's oneof inTensorInfo
proto: code link.Is this a known unsupported feature or would the model loading just work if the validation is bypassed?
The text was updated successfully, but these errors were encountered: