Skip to content
Snippets Groups Projects
Commit 458da28b authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix secondResponse initialization

parent a6ca8195
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment