voc-dpm
voc-dpm copied to clipboard
very large size of array
After getting compile the files, the demo run provides this output shown below:
demo input image press any key to continue continuing... car model visualization press any key to continue continuing...
Error using resize Requested 480x640x257612297838540 (17179869184.0GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information.
Error in featpyramid (line 31) scaled = resize(im, 1/sc^(i-1));
Error in imgdetect (line 15) pyra = featpyramid(input, model);
Error in demo>test (line 31) [dets, boxes] = imgdetect(im, model, -0.3);
Error in demo (line 4) test('000034.jpg', model);
I know this is very late --- I ran into this problem and realized that MATLAB wasn't parallelizing correctly. This may be because parpool and delete functions have replaced matlabpool since this code was written.
Create a function called matlabpool.m as described in the link: https://www.mathworks.com/matlabcentral/answers/235524-how-to-replace-matlapool-by-parpool-in-my-code
I have the same error, have you solved it?