Commit 7d88527d authored by yangql's avatar yangql
Browse files

Update Classifier.h

parent 8cb1d822
Pipeline #399 failed with stages
in 0 seconds
#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();
};
......
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