Stores TensorRT model and engine configuration.
Definition at line 32 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.


Public Member Functions | |
| TRTConfigParams () | |
| Construct a TRTConfigParams instance. More... | |
| TRTConfigParams (const std::string &configFilePath, const std::string moduleName, const std::string submoduleName) | |
| Construct a TRTConfigParams instance. More... | |
| TRTConfigParams (const YAML::Node &fn) | |
| Construct a TRTConfigParams instance. More... | |
| void | read (const YAML::Node &fn) override |
| Load configuration values from a YAML node. More... | |
| TRTConfigParams () | |
| Construct a TRTConfigParams instance. More... | |
| TRTConfigParams (const std::string &configFilePath, const std::string moduleName, const std::string submoduleName) | |
| Construct a TRTConfigParams instance. More... | |
| TRTConfigParams (const YAML::Node &fn) | |
| Construct a TRTConfigParams instance. More... | |
| void | read (const YAML::Node &fn) override |
| Load configuration values from a YAML node. More... | |
Static Public Member Functions | |
| static std::string | resolvePathRelativeToConfig (const std::string &configFilePath, const std::string &filePath) |
| Resolve a configured path relative to the tracker configuration file. More... | |
| static std::string | resolvePathRelativeToConfig (const std::string &configFilePath, const std::string &filePath) |
| Resolve a configured path relative to the tracker configuration file. More... | |
| static const YAML::Node | getConfigRoot (const std::string &configFilePath, const bool printMessage=false) |
| Load the root YAML node from a tracker configuration file. More... | |
| static const YAML::Node | getConfigRoot (const std::string &configFilePath, const bool printMessage=false) |
| Load the root YAML node from a tracker configuration file. More... | |
Data Fields | |
| int | m_maxBatchSize |
| Maximum batch size for reid network. More... | |
| int | m_inputOrder |
| Input dimension order: 0: NCHW, 1: NHWC. More... | |
| int | m_width |
| Input image patch width. More... | |
| int | m_height |
| Input image patch height. More... | |
| int | m_channel |
| Input image patch channel. More... | |
| int | m_gpuId |
| Gpu id. More... | |
| std::vector< int > | m_inferDims |
| Reid input dimension. More... | |
| size_t | m_workspaceSize |
| Work space for reid network in MiB. More... | |
| std::string | m_tltEncodedModelFilePath |
| Reid network tao model path. More... | |
| std::string | m_tltModelKey |
| Tao model key. More... | |
| std::string | m_onnxFilePath |
| Reid network onnx model path. More... | |
| std::string | m_engineFilePath |
| Reid engine path. More... | |
| std::string | m_calibrationTableFilePath |
| Reid int8 calibration table file path. More... | |
| nvinfer1::DataType | m_networkMode |
| Reid network precision. More... | |
| int | m_builderOptimizationLevel |
| Engine builder optimization level. More... | |
| int | m_debugVerboseLevel |
| Debug message verbose mode level. More... | |
| TRTConfigParams::TRTConfigParams | ( | ) |
Construct a TRTConfigParams instance.
| TRTConfigParams::TRTConfigParams | ( | const std::string & | configFilePath, |
| const std::string | moduleName, | ||
| const std::string | submoduleName | ||
| ) |
Construct a TRTConfigParams instance.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | moduleName | Configuration module name. |
| [in] | submoduleName | Configuration submodule name. |
| TRTConfigParams::TRTConfigParams | ( | const YAML::Node & | fn | ) |
Construct a TRTConfigParams instance.
| [in] | fn | Parsed YAML node. |
| TRTConfigParams::TRTConfigParams | ( | ) |
Construct a TRTConfigParams instance.
| TRTConfigParams::TRTConfigParams | ( | const std::string & | configFilePath, |
| const std::string | moduleName, | ||
| const std::string | submoduleName | ||
| ) |
Construct a TRTConfigParams instance.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | moduleName | Configuration module name. |
| [in] | submoduleName | Configuration submodule name. |
| TRTConfigParams::TRTConfigParams | ( | const YAML::Node & | fn | ) |
Construct a TRTConfigParams instance.
| [in] | fn | Parsed YAML node. |
|
inlinestaticinherited |
Load the root YAML node from a tracker configuration file.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | printMessage | Enables warning output when the configuration cannot be loaded. |
Definition at line 121 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
References CLOG.
Referenced by CommunicatorFactoryParams::CommunicatorFactoryParams(), CommunicatorParams::CommunicatorParams(), DataAssociatorFactoryParams::DataAssociatorFactoryParams(), EstimatorFactoryParams2::EstimatorFactoryParams2(), MqttCommunicatorParams::MqttCommunicatorParams(), MultiViewAssociatorFactoryParams::MultiViewAssociatorFactoryParams(), MultiViewAssociatorParams::MultiViewAssociatorParams(), PoseEstimatorFactoryParams::PoseEstimatorFactoryParams(), ReIDFactoryParams::ReIDFactoryParams(), ReIDServiceFactoryParams::ReIDServiceFactoryParams(), SegmenterFactoryParams::SegmenterFactoryParams(), and VisualTrackerFactoryParams::VisualTrackerFactoryParams().
|
inlinestaticinherited |
Load the root YAML node from a tracker configuration file.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | printMessage | Enables warning output when the configuration cannot be loaded. |
Definition at line 121 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
References CLOG.
|
overridevirtual |
Load configuration values from a YAML node.
| [in] | fn | Parsed YAML node. |
Implements NvTrackerParams.
|
overridevirtual |
Load configuration values from a YAML node.
| [in] | fn | Parsed YAML node. |
Implements NvTrackerParams.
|
inlinestaticinherited |
Resolve a configured path relative to the tracker configuration file.
Existing paths are canonicalized, while nonexistent relative paths remain joined to the configuration directory.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | filePath | Absolute or configuration-relative path to resolve. |
Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
Referenced by CommunicatorParams::CommunicatorParams(), and MqttCommunicatorParams::MqttCommunicatorParams().
|
inlinestaticinherited |
Resolve a configured path relative to the tracker configuration file.
Existing paths are canonicalized, while nonexistent relative paths remain joined to the configuration directory.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | filePath | Absolute or configuration-relative path to resolve. |
Definition at line 55 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
| int TRTConfigParams::m_builderOptimizationLevel |
Engine builder optimization level.
Definition at line 73 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| std::string TRTConfigParams::m_calibrationTableFilePath |
Reid int8 calibration table file path.
Definition at line 70 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_channel |
Input image patch channel.
Definition at line 62 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_debugVerboseLevel |
Debug message verbose mode level.
Definition at line 74 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| std::string TRTConfigParams::m_engineFilePath |
Reid engine path.
Definition at line 69 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_gpuId |
Gpu id.
Definition at line 63 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_height |
Input image patch height.
Definition at line 61 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| std::vector< int > TRTConfigParams::m_inferDims |
Reid input dimension.
Definition at line 64 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_inputOrder |
Input dimension order: 0: NCHW, 1: NHWC.
Definition at line 59 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_maxBatchSize |
Maximum batch size for reid network.
Definition at line 58 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| nvinfer1::DataType TRTConfigParams::m_networkMode |
Reid network precision.
Integer 0: FP32 1: INT8 2: FP16.
Definition at line 71 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| std::string TRTConfigParams::m_onnxFilePath |
Reid network onnx model path.
Definition at line 68 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| std::string TRTConfigParams::m_tltEncodedModelFilePath |
Reid network tao model path.
Definition at line 66 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| std::string TRTConfigParams::m_tltModelKey |
Tao model key.
Definition at line 67 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| int TRTConfigParams::m_width |
Input image patch width.
Definition at line 60 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
| size_t TRTConfigParams::m_workspaceSize |
Work space for reid network in MiB.
Definition at line 65 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.