Open bj-wanghz opened 6 years ago
你好,我也有这个问题,我把landmark 改为29个之后出现了 OpenCV(3.4.6) Error: Assertion failed (0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows) in cv::Mat::Mat, file c:\build\3_4_winpack-build-win64-vc15\opencv\modules\core\src\matrix.cpp, line 424 这个问题
这个问题得到了解决吗?
Hi, I changed the number of landmarks from 68 to 5 in InitializeGlobalParam function from LBF.cpp when training and I got the following error: `linear regression of one landmark cost 0.017138s terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.0.0-beta) /home/wanghongzhu/work/opencv-4.0.0-beta/modules/core/src/matrix.cpp:424: error: (-215:Assertion failed) 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows in function 'Mat'
Aborted (core dumped) ` How can I fix it?