|
SOMHunter Core
|
#include <filesystem>#include <fstream>#include <iostream>#include <memory>#include <string>#include <vector>#include "Extractor.h"
Functions | |
| std::vector< float > | parse_float_vector (const std::string &filepath, size_t dim, size_t begin_offset=0) |
| std::vector< cv::Rect > | get_RoIs (int width, int height) |
| torch::Tensor | get_features (cv::Mat image, torch::jit::script::Module resnext101, torch::jit::script::Module resnet152, torch::Tensor weights, torch::Tensor bias, torch::Tensor kw_pca_mat, torch::Tensor kw_pca_mean_vec) |
| torch::Tensor get_features | ( | cv::Mat | image, |
| torch::jit::script::Module | resnext101, | ||
| torch::jit::script::Module | resnet152, | ||
| torch::Tensor | weights, | ||
| torch::Tensor | bias, | ||
| torch::Tensor | kw_pca_mat, | ||
| torch::Tensor | kw_pca_mean_vec | ||
| ) |

| std::vector<cv::Rect> get_RoIs | ( | int | width, |
| int | height | ||
| ) |
| std::vector<float> parse_float_vector | ( | const std::string & | filepath, |
| size_t | dim, | ||
| size_t | begin_offset = 0 |
||
| ) |