Commit b518087c authored by yaoht's avatar yaoht
Browse files

修复main的!=符号错误

parent 51cdd4a3
...@@ -53,7 +53,7 @@ void Sample_Crnn() ...@@ -53,7 +53,7 @@ void Sample_Crnn()
migraphxSamples::InitializationParameterOfOcr initParamOfOcrCRNN; migraphxSamples::InitializationParameterOfOcr initParamOfOcrCRNN;
initParamOfOcrCRNN.configFilePath = CONFIG_FILE; initParamOfOcrCRNN.configFilePath = CONFIG_FILE;
migraphxSamples::ErrorCode errorCode = crnn.Initialize(initParamOfOcrCRNN, false); migraphxSamples::ErrorCode errorCode = crnn.Initialize(initParamOfOcrCRNN, false);
if(errorCode ! = migraphxSamples::SUCCESS) if(errorCode != migraphxSamples::SUCCESS)
{ {
LOG_ERROR(stdout, "fail to initialize crnn!\n"); LOG_ERROR(stdout, "fail to initialize crnn!\n");
exit(-1); exit(-1);
...@@ -90,7 +90,7 @@ void Sample_Crnn_Dynamic() ...@@ -90,7 +90,7 @@ void Sample_Crnn_Dynamic()
migraphxSamples::InitializationParameterOfOcr initParamOfOcrCRNN; migraphxSamples::InitializationParameterOfOcr initParamOfOcrCRNN;
initParamOfOcrCRNN.configFilePath = CONFIG_FILE; initParamOfOcrCRNN.configFilePath = CONFIG_FILE;
migraphxSamples::ErrorCode errorCode = crnn.Initialize(initParamOfOcrCRNN, true); migraphxSamples::ErrorCode errorCode = crnn.Initialize(initParamOfOcrCRNN, true);
if(errorCode ! = migraphxSamples::SUCCESS) if(errorCode != migraphxSamples::SUCCESS)
{ {
LOG_ERROR(stdout, "fail to initialize crnn!\n"); LOG_ERROR(stdout, "fail to initialize crnn!\n");
exit(-1); exit(-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment