ERROR_TF_UNABLE_TO_FIND_OUTPUT_OPERATION
Join Date: 24 Aug 17
Posts: 10
Posted: Mon, 2017-09-04 10:57
Hi,
I try to convert the pb file of logistic regression model to dlc file by snpe-tensorflow-to-dlc
but i get error message:
OperationNotFoundError: ERROR_TF_UNABLE_TO_FIND_OUTPUT_OPERATION: Unable to find output operations for op name: "M"
I have no idea about this error...
the following is model detail:
input:30 output:1
node {
name: "I"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "shape"
value {
shape {
}
}
}
}
node {
name: "W"
op: "Const"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "value"
value {
tensor {
dtype: DT_FLOAT
tensor_shape {
dim {
size: 30
}
dim {
size: 1
}
}
tensor_content: "\346/\247\276\246\252\366<L_\302\275\307B4\276CE\233\275\'g&\276F\026#\275\377\030\314\275)\224D\276\'\037u\276h\n\306\275j)=\274i\334\r\276K\313\364=\366tY\275\242>\307\275\377!J>Px\335\275\262\3231\276\032\t4\275\263\357^\276]\266\233\2756\204\252\2765\200J\276\217\247\207\276Jk\264\276m\177\355\275\364\3366\276\254-d\276\1775j\276"
}
}
}
}
node {
name: "B"
op: "Const"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "value"
value {
tensor {
dtype: DT_FLOAT
tensor_shape {
dim {
size: 1
}
}
float_val: 3.01073765755
}
}
}
}
node {
name: "M"
op: "MatMul"
input: "I"
input: "W"
attr {
key: "T"
value {
type: DT_FLOAT
}
}
attr {
key: "transpose_a"
value {
b: false
}
}
attr {
key: "transpose_b"
value {
b: false
}
}
}
node {
name: "A"
op: "Add"
input: "M"
input: "B"
attr {
key: "T"
value {
type: DT_FLOAT
}
}
}
node {
name: "O"
op: "Sigmoid"
input: "A"
attr {
key: "T"
value {
type: DT_FLOAT
}
}
}
Thanks!