Repository navigation
Open
Description
2022-11-09 11:29:11.466957: I tensorflow/cc/saved_model/reader.cc:45] Reading SavedModel from: ./resources/models/dummy_model
2022-11-09 11:29:11.470546: I tensorflow/cc/saved_model/reader.cc:89] Reading meta graph with tags { serve }
2022-11-09 11:29:11.470586: I tensorflow/cc/saved_model/reader.cc:130] Reading SavedModel debug info (if present) from: ./resources/models/dummy_model
2022-11-09 11:29:11.470803: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-11-09 11:29:11.487647: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled
2022-11-09 11:29:11.488828: I tensorflow/cc/saved_model/loader.cc:229] Restoring SavedModel bundle.
2022-11-09 11:29:11.547895: I tensorflow/cc/saved_model/loader.cc:213] Running initialization op on SavedModel bundle at path: ./resources/models/dummy_model
2022-11-09 11:29:11.556822: I tensorflow/cc/saved_model/loader.cc:305] SavedModel load for tags { serve }; Status: success: OK. Took 89859 microseconds.
2022-11-09 11:29:11.561676: W tensorflow/core/framework/op_kernel.cc:1757] OP_REQUIRES failed at op_kernel.cc:148 : UNIMPLEMENTED: Op TensorArrayV2 is not available in GraphDef version 1205. It has been removed in version 26. Use TensorArrayV3.
terminate called after throwing an instance of 'std::runtime_error'
what(): Op TensorArrayV2 is not available in GraphDef version 1205. It has been removed in version 26. Use TensorArrayV3.
Metadata
Metadata
Assignees
Labels
No labels
Activity
mmetwalli96 commentedon Nov 9, 2022
I created that type in raw_ops.h
here is the code that I got to do this
I get this error
mmetwalli96 commentedon Nov 9, 2022
here is the model details
this is the input that I am using to score the model
serizba commentedon Nov 10, 2022
Hi,
From the error you are getting,
what(): Expecting 2 outputs, but *num_retvals is 1, it looks like you should add one more output to the operation.Hope this helps!
mmetwalli96 commentedon Nov 10, 2022
Hi, it seems that didn't work. I think this is because of this code here in the tensor_array_v3 definition
changing
num_outputs_opfrom one to zero throws a different error related to the data type. Here is the error messageserizba commentedon Nov 14, 2022
@mmetwalli96
I guess you mean changing from 1 to 2. The error is saying you should change the datatype, have you tried this?
mmetwalli96 commentedon Nov 14, 2022
@serizba
You are right, I tried that, and it didn't make it work.

I tried to use the function fill, and this is the error that I get in this picture
serizba commentedon Nov 14, 2022
All these errors you are posting don't look related to the library itself, but rather bugs or incorrect usage. Now it looks like you are providing tensors with the wrong shape. I recommend you to read careful the errors and try to debug it by yourself.
Hope this helps
mmetwalli96 commentedon Nov 15, 2022
No problem, I will try to look further into that. Thanks