diff --git a/ge/generator/ge_generator.cc b/ge/generator/ge_generator.cc index 4cd5d34f..156739b6 100644 --- a/ge/generator/ge_generator.cc +++ b/ge/generator/ge_generator.cc @@ -572,7 +572,7 @@ Status GeGenerator::SetModelNameForDump(const GeRootModelPtr &ge_root_model) { if (ret != SUCCESS) { GELOGE(FAILED, "[Check][IsUnknownShape]Check root model is unknown shape failed, model id:%u", ge_root_model->GetModelId()); - REPORT_CALL_ERROR("E19999", "Check root model is unknown shape failed, model id:%zu", + REPORT_CALL_ERROR("E19999", "Check root model is unknown shape failed, model id:%u", ge_root_model->GetModelId()); return FAILED; } @@ -593,8 +593,6 @@ Status GeGenerator::SetModelNameForDump(const GeRootModelPtr &ge_root_model) { ErrorManager::GetInstance().ATCReportErrMessage("E10000", {"parameter"}, {"output"}); GELOGE(FAILED, "[Check][GetModelNameStep]Get model_name failed. Param --output is invalid, root graph name: %s", ge_root_model->GetRootGraph()->GetName().c_str()); - REPORT_CALL_ERROR("E19999", "Get model_name failed. Param --output is invalid,", - "root graph name: %s", ge_root_model->GetRootGraph()->GetName().c_str()); return PARAM_INVALID; } map name_to_ge_model = ge_root_model->GetSubgraphInstanceNameToModel();