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
7d88527d
Commit
7d88527d
authored
Jun 30, 2023
by
yangql
Browse files
Update Classifier.h
parent
8cb1d822
Pipeline
#399
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
Src/Classifier.h
Src/Classifier.h
+0
-6
No files found.
Src/Classifier.h
View file @
7d88527d
#ifndef __CLASSIFIER_H__
#define __CLASSIFIER_H__
#include <onnxruntime/core/session/onnxruntime_cxx_api.h>
#include <CommonDefinition.h>
namespace
ortSamples
...
...
@@ -22,16 +20,12 @@ public:
private:
cv
::
FileStorage
configurationFile
;
Ort
::
Session
*
session
;
cv
::
Size
inputSize
;
std
::
string
inputName
;
Ort
::
Env
env
=
Ort
::
Env
(
ORT_LOGGING_LEVEL_ERROR
,
"ONNXRuntime"
);
Ort
::
SessionOptions
sessionOptions
=
Ort
::
SessionOptions
();
};
...
...
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