diff --git a/parser/caffe/caffe_parser.cc b/parser/caffe/caffe_parser.cc index e74b697..4d4a235 100644 --- a/parser/caffe/caffe_parser.cc +++ b/parser/caffe/caffe_parser.cc @@ -1056,7 +1056,7 @@ Status CaffeModelParser::AddEdges(ge::ComputeGraphPtr &graph) { {top_blob_layer_pair.first}); GELOGE(INTERNAL_ERROR, "[Find][TopLayer] %s failed.", top_blob_layer_pair.first.c_str()); return ge::FAILED;) - GE_IF_BOOL_EXEC(top_node_iter == node_map.end(), + GE_IF_BOOL_EXEC(bottom_node_iter == node_map.end(), ErrorManager::GetInstance().ATCReportErrMessage("E11015", {"opname"}, {bottom_blob_layer_pair.first}); GELOGE(INTERNAL_ERROR, "[Find][BottomLayer] %s failed.", bottom_blob_layer_pair.first.c_str()); diff --git a/parser/tensorflow/tensorflow_parser.cc b/parser/tensorflow/tensorflow_parser.cc index f1fbba6..cfb232e 100644 --- a/parser/tensorflow/tensorflow_parser.cc +++ b/parser/tensorflow/tensorflow_parser.cc @@ -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; }