diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-30 15:56:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 15:56:09 +0200 |
commit | cdcf2445ce824bab9fd6914e9d26f41744521267 (patch) | |
tree | 8d68f4e2ca6c1ae2970c60ee4170a500b860c855 /tracker-neuralnet | |
parent | b6a772751b7df44eac3bc9aa46a9fdcc44f3612e (diff) | |
parent | ba864d294239f6093e2442cc8a36df5c196022f6 (diff) |
Merge pull request #1730 from DaWelter/master
Diffstat (limited to 'tracker-neuralnet')
-rw-r--r-- | tracker-neuralnet/model_adapters.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-neuralnet/model_adapters.h b/tracker-neuralnet/model_adapters.h index 820330cf..48f2fa2c 100644 --- a/tracker-neuralnet/model_adapters.h +++ b/tracker-neuralnet/model_adapters.h @@ -73,7 +73,7 @@ class PoseEstimator std::string get_network_output_name(size_t i) const; int64_t model_version_ = 0; // Queried meta data from the ONNX file Ort::Session session_{nullptr}; // ONNX's runtime context for running the model - Ort::Allocator allocator_; // Memory allocator for tensors + mutable Ort::Allocator allocator_; // Memory allocator for tensors // Inputs cv::Mat scaled_frame_{}, input_mat_{}; // Input. One is the original crop, the other is rescaled (?) std::vector<Ort::Value> input_val_; // Tensors to put into the model |