提交 bdae962e 编写于 作者: M Maria Dimashova

removed constraint to max_iter in CvANN_MLP (#1110)

上级 07e2decc
......@@ -821,7 +821,6 @@ int CvANN_MLP::train( const CvMat* _inputs, const CvMat* _outputs,
init_weights();
max_iter = params.term_crit.type & CV_TERMCRIT_ITER ? params.term_crit.max_iter : MAX_ITER;
max_iter = MIN( max_iter, MAX_ITER );
max_iter = MAX( max_iter, 1 );
epsilon = params.term_crit.type & CV_TERMCRIT_EPS ? params.term_crit.epsilon : DEFAULT_EPSILON;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册