#include <Sam3.hpp>
|
| | TensorRTSam3 (const std::string vision_encoder_path, const std::string text_encoder_path, const std::string geometry_encoder_path, const std::string decoder_path, const std::string tokenizer_path, int gpu_id) |
| std::vector< IDataset::Pair > | forward (const std::span< IDataset::Pair > &input) override |
| virtual | ~IModel ()=default |
|
| static std::unique_ptr< TensorRTSam3 > | create (const std::filesystem::path &model_path) |
| static std::unique_ptr< IModel > | create (const std::filesystem::path &model_path) |
|
| bool | load_engines () |
| bool | setup_geometry_input (const cv::Mat &image, const std::string &label, const std::vector< std::pair< std::string, std::array< float, 4 > > > &boxes) |
Definition at line 29 of file Sam3.hpp.
◆ TensorRTSam3()
| ReUseX::vision::tensor_rt::TensorRTSam3::TensorRTSam3 |
( |
const std::string | vision_encoder_path, |
|
|
const std::string | text_encoder_path, |
|
|
const std::string | geometry_encoder_path, |
|
|
const std::string | decoder_path, |
|
|
const std::string | tokenizer_path, |
|
|
int | gpu_id ) |
◆ create()
| std::unique_ptr< TensorRTSam3 > ReUseX::vision::tensor_rt::TensorRTSam3::create |
( |
const std::filesystem::path & | model_path | ) |
|
|
static |
◆ forward()
◆ load_bytes_from_file()
| std::string ReUseX::vision::tensor_rt::TensorRTSam3::load_bytes_from_file |
( |
const std::string & | file_path | ) |
|
|
staticprotected |
◆ load_engines()
| bool ReUseX::vision::tensor_rt::TensorRTSam3::load_engines |
( |
| ) |
|
|
protected |
◆ setup_geometry_input()
| bool ReUseX::vision::tensor_rt::TensorRTSam3::setup_geometry_input |
( |
const cv::Mat & | image, |
|
|
const std::string & | label, |
|
|
const std::vector< std::pair< std::string, std::array< float, 4 > > > & | boxes ) |
|
protected |
The documentation for this class was generated from the following file:
- libs/reusex/include/ReUseX/vision/tensor_rt/Sam3.hpp