Merge pull request #14050 from npochhi:mlp_ann_eps_change

pull/14057/head
Alexander Alekhin 6 years ago
commit 73bf170800
  1. 2
      modules/ml/src/ann_mlp.cpp

@ -971,7 +971,7 @@ public:
int count = inputs.rows;
int iter = -1, max_iter = termCrit.maxCount*count;
double epsilon = termCrit.epsilon*count;
double epsilon = (termCrit.type & CV_TERMCRIT_EPS) ? termCrit.epsilon*count : 0;
int l_count = layer_count();
int ivcount = layer_sizes[0];

Loading…
Cancel
Save