Skip to content

Commit fadd158

Browse files
Update sam_inference.cpp
1 parent d0a3793 commit fadd158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sam_inference.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const char* SAM::CreateSession(SEG::DL_INIT_PARAM& iParams)
6161
bool result = std::regex_search(iParams.modelPath, pattern);
6262
if (result)
6363
{
64-
Ret = "[SAM]:Your model path is error. Change your model path without chinese characters.";
64+
Ret = "[SAM]: Your model path is error. Change your model path without chinese characters.";
6565
CONSOLE_BRIDGE_logWarn("%s", Ret);
6666
return Ret;
6767
}
@@ -334,7 +334,7 @@ const char* SAM::TensorProcess_(clock_t& starttime_1, const cv::Mat& iImg,
334334
break;
335335
}
336336
default:
337-
CONSOLE_BRIDGE_logError("[SAM]: " "Unsupported model type.");
337+
CONSOLE_BRIDGE_logError("[SAM]: Unsupported model type.");
338338
}
339339

340340
return RET_OK;

0 commit comments

Comments
 (0)