shenwei1231 / DeepContour

The testing code for deep contour detector
94 stars 38 forks source link

Memory error #9

Open zmqp111 opened 5 years ago

zmqp111 commented 5 years ago

Hi. I have some error using your codes.

Error using imResampleMex Requested 1035087118497x481x257917658343886 (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.

my system env. is

  1. nvidia gtx960m
  2. 8gb RAM
  3. intel i7-6700HQ CPU @ 2.60GHz, 2.60GHz.

shenwei1231 commented 5 years ago

What is the size of your input image? It is better to run the code on a server or workstation rather than a laptop.

zmqp111 commented 5 years ago

Hi shenwei1231. I used BSDS500 Dataset.

Yesterday, I found out that in 32bit/64bit, it is a recognition problem of size_t and int. Where did you compile the Piotr's Matlab Toolbox?

XQLuck commented 4 years ago

hello, I have the same error, I run it on 64 bit workstation, could do share me the method of solve this error. Thanks load opticalFlowTest; [Vx,Vy]=opticalFlow(I1,I2,'smooth',1,'radius',10,'type','LK'); subplot(1,2,1),imshow(double(Vx),[]); subplot(1,2,2),imshow(double(Vy),[]);

Error using imResampleMex Requested 1035087118497x481x257917658343886 (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.

shenwei1231 commented 4 years ago

Hi shenwei1231. I used BSDS500 Dataset.

Yesterday, I found out that in 32bit/64bit, it is a recognition problem of size_t and int. Where did you compile the Piotr's Matlab Toolbox?

I directly used the complied binary files of the Piotr's Matlab Toolbox.