2015-12-10 23:17:37 -0600 | received badge | ● Notable Question (source) |
2014-08-07 18:06:19 -0600 | received badge | ● Popular Question (source) |
2013-02-16 00:51:12 -0600 | received badge | ● Student (source) |
2013-02-15 04:23:30 -0600 | received badge | ● Editor (source) |
2013-02-15 04:22:33 -0600 | asked a question | Unsupported format or combination of formats (Invalid matrix type) I'm trying to use the boosting library from openCV for a relatively large dataset (30M rows, 30 cols). When creating the matrix, I get the following error: I've looked into array.cpp and added a debug output there: Turned out that the min_step variable was overflowing: (note the strange number of columns -- my dataset has 30M rows but the matrix wants to get 600M cols) I've tried to change int to uint64_t, hoping to simply avoid overflows but got the following very strange behaviour: Now this I really don't understand since 600M times 4 is only 2.4G, which surely should fit into uint64_t. What am I doing wrong? I can post my boosting code, but it does work correctly for smaller datasets. |