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
ResNet50_onnxruntime
Commits
81c0c75a
Commit
81c0c75a
authored
Jun 30, 2023
by
yangql
Browse files
Update Src/Classifier.cpp
parent
cf7b82b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Src/Classifier.cpp
Src/Classifier.cpp
+0
-4
No files found.
Src/Classifier.cpp
View file @
81c0c75a
...
@@ -36,7 +36,6 @@ ErrorCode Classifier::Initialize(InitializationParameterOfClassifier initializat
...
@@ -36,7 +36,6 @@ ErrorCode Classifier::Initialize(InitializationParameterOfClassifier initializat
cv
::
FileNode
netNode
=
configurationFile
[
"Classifier"
];
cv
::
FileNode
netNode
=
configurationFile
[
"Classifier"
];
std
::
string
modelPath
=
(
std
::
string
)
netNode
[
"ModelPath"
];
std
::
string
modelPath
=
(
std
::
string
)
netNode
[
"ModelPath"
];
// 初始化session
// 初始化session
//设置DCU
//设置DCU
OrtROCMProviderOptions
rocm_options
;
OrtROCMProviderOptions
rocm_options
;
...
@@ -137,9 +136,6 @@ ErrorCode Classifier::Classify(const std::vector<cv::Mat> &srcImages,std::vector
...
@@ -137,9 +136,6 @@ ErrorCode Classifier::Classify(const std::vector<cv::Mat> &srcImages,std::vector
predictions
.
push_back
(
resultOfPredictions
);
predictions
.
push_back
(
resultOfPredictions
);
}
}
return
SUCCESS
;
return
SUCCESS
;
}
}
}
}
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