Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change landmarks number to 5 #35

Open
bj-wanghz opened this issue Nov 13, 2018 · 2 comments
Open

change landmarks number to 5 #35

bj-wanghz opened this issue Nov 13, 2018 · 2 comments

Comments

@bj-wanghz
Copy link

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?

@lylezio
Copy link

lylezio commented Dec 17, 2019

你好,我也有这个问题,我把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
这个问题

@lylezio
Copy link

lylezio commented Dec 17, 2019

这个问题得到了解决吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants