-
Notifications
You must be signed in to change notification settings - Fork 499
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
rgbConvertMex change the 3rd dimesion from 3 to 48512332255694123 values #29
Comments
I got this error either. |
Same here. |
This problem is in recent version of Matlab. I managed to fix a similar problem but I don't remember the details. Is something related to the size of integers and matrix dimensions in the mex. The problem is in the types used (int instead of mwSize matlab defined type). |
Finally found the change I did:
Yo have to change other C/C++ files with the same idea. In my linux 64 bits the int is no longer valid in Matlab 2017b to represent a Matlab matrix and it should be changed by mwSize in several mex files in the toolbox. |
You can find the changes I did in order to fix this issue to my own version of the toolbox here (a lot of .cpp files need to be changed): https://github.com/jmbuena/toolbox.badacost.public In this version we have added the detection with our BAdaCost algorithm (Cost-sensitive multi-class Boosting) from our Pattern Recognition 2018 paper. Hope it will be useful. |
Thanks, jmbuena PR without BAdaCost #38 |
i'm having this error:
while debugging the code i found out that I=160903 after calling rgbConvertMex become 160901277669775489321 and this is why Convcost show me this error.
how can i fix this error please
The text was updated successfully, but these errors were encountered: