summaryrefslogtreecommitdiffhomepage
path: root/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-neuralnet/ftnoir_tracker_neuralnet.cpp')
-rw-r--r--tracker-neuralnet/ftnoir_tracker_neuralnet.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp b/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
index 8beb4119..f5939cf6 100644
--- a/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
+++ b/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
@@ -568,16 +568,12 @@ bool neuralnet_tracker::load_and_initialize_model()
// before running the inference pass.
opts.SetIntraOpNumThreads(num_threads);
opts.SetInterOpNumThreads(num_threads);
- opts.SetGraphOptimizationLevel(
- GraphOptimizationLevel::ORT_ENABLE_EXTENDED);
-
- opts.EnableCpuMemArena();
allocator_info = Ort::MemoryInfo::CreateCpu(OrtArenaAllocator, OrtMemTypeDefault);
localizer.emplace(
allocator_info,
Ort::Session{env, convert(localizer_model_path_enc).c_str(), opts});
-
+
poseestimator.emplace(
allocator_info,
Ort::Session{env, convert(poseestimator_model_path_enc).c_str(), opts});