Template Class AddClassificationsStage

Base Type

template<typename InputT, typename OutputT>
class AddClassificationsStage : public morpheus::AddScoresStageBase<InputT, OutputT>

Add detected classifications to each message. Classification labels based on probabilities calculated in inference stage. Label indexes will be looked up in the idx2label property.

Public Functions

AddClassificationsStage(std::map<std::size_t, std::string> idx2label, float threshold)

Construct a new Add Classifications Stage object.

Parameters
  • threshold – : Threshold to consider true/false for each class

  • idx2label – : Index to classification labels map

Previous Struct WriteToFileStageInterfaceProxy
Next Template Class AddScoresStage
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.