Commit 458da28b authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: fix secondResponse initialization

parent a6ca8195
......@@ -183,7 +183,7 @@ typename NeuralNetworkMachineLearningModel<TInputValue, TOutputValue>::TargetSam
TargetSampleType target;
float currentResponse = 0;
float maxResponse = response.at<float> (0, 0);
float secondResponse = response.at<float> (0, 0);
float secondResponse = -1e10;
target[0] = m_CvMatOfLabels->data.i[0];
unsigned int nbClasses = m_CvMatOfLabels->cols;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment