Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
crnn_migraphx
Commits
b518087c
Commit
b518087c
authored
Aug 26, 2024
by
yaoht
Browse files
修复main的!=符号错误
parent
51cdd4a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Src/main.cpp
Src/main.cpp
+2
-2
No files found.
Src/main.cpp
View file @
b518087c
...
...
@@ -53,7 +53,7 @@ void Sample_Crnn()
migraphxSamples
::
InitializationParameterOfOcr
initParamOfOcrCRNN
;
initParamOfOcrCRNN
.
configFilePath
=
CONFIG_FILE
;
migraphxSamples
::
ErrorCode
errorCode
=
crnn
.
Initialize
(
initParamOfOcrCRNN
,
false
);
if
(
errorCode
!
=
migraphxSamples
::
SUCCESS
)
if
(
errorCode
!=
migraphxSamples
::
SUCCESS
)
{
LOG_ERROR
(
stdout
,
"fail to initialize crnn!
\n
"
);
exit
(
-
1
);
...
...
@@ -90,7 +90,7 @@ void Sample_Crnn_Dynamic()
migraphxSamples
::
InitializationParameterOfOcr
initParamOfOcrCRNN
;
initParamOfOcrCRNN
.
configFilePath
=
CONFIG_FILE
;
migraphxSamples
::
ErrorCode
errorCode
=
crnn
.
Initialize
(
initParamOfOcrCRNN
,
true
);
if
(
errorCode
!
=
migraphxSamples
::
SUCCESS
)
if
(
errorCode
!=
migraphxSamples
::
SUCCESS
)
{
LOG_ERROR
(
stdout
,
"fail to initialize crnn!
\n
"
);
exit
(
-
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment