Browse Source

!527 dts fix

Merge pull request !527 from 韩健/hanjian
pull/529/MERGE
i-robot Gitee 3 years ago
parent
commit
bdeabd6806
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
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;
bool read = ge::parser::ReadProtoFromBinaryFile(model_path, &ori_def);
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;
}



Loading…
Cancel
Save