Browse Source

fix log info

pull/527/head
han-jian27 3 years ago
parent
commit
99ac19b532
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      parser/tensorflow/tensorflow_parser.cc

+ 1
- 1
parser/tensorflow/tensorflow_parser.cc View File

@@ -1361,7 +1361,7 @@ Status TensorFlowModelParser::Parse(const char *model_path, ge::ComputeGraphPtr
domi::tensorflow::GraphDef ori_def; domi::tensorflow::GraphDef ori_def;
bool read = ge::parser::ReadProtoFromBinaryFile(model_path, &ori_def); bool read = ge::parser::ReadProtoFromBinaryFile(model_path, &ori_def);
if (!read) { if (!read) {
GELOGE(FAILED, "read_proto_from_binary failed. --framework=3, file format should be tensorflow.");
GELOGE(FAILED, "read tensorflow file failed when the inupt param value of --framework is 3.");
return INTERNAL_ERROR; return INTERNAL_ERROR;
} }




Loading…
Cancel
Save