|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
#include <Sam3.hpp>


Public Member Functions | |
| 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 |
| Public Member Functions inherited from reusex::vision::IModel | |
| virtual | ~IModel ()=default |
Static Public Member Functions | |
| static std::unique_ptr< TensorRTSam3 > | create (const std::filesystem::path &model_path) |
| Static Public Member Functions inherited from reusex::vision::IModel | |
| static std::unique_ptr< IModel > | create (const std::filesystem::path &model_path, bool use_gpu=false) |
Protected Member Functions | |
| 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) |
Static Protected Member Functions | |
| static std::string | load_bytes_from_file (const std::string &file_path) |
| 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 ) |
|
static |
|
overridevirtual |
Implements reusex::vision::IModel.
|
staticprotected |
|
protected |
|
protected |