shuochsu / DeepVideoDeblurring

S. Su, M. Delbracio, J. Wang, G. Sapiro, W. Heidrich, O. Wang. Deep Video Deblurring. CVPR 2017, Spotlight
http://www.cs.ubc.ca/labs/imager/tr/2017/DeepVideoDeblurring/
MIT License
191 stars 63 forks source link

Massive memory allocation failure, what am I missing? #10

Open josephrudeseal opened 3 years ago

josephrudeseal commented 3 years ago

When I attempt to align my own video frames I get the following error: "error: tvl1flow: failed to allocate 497991905965072896 bytes of memory"

It occurs when tvl1flow.c makes a call to mxCreateNumericArray for a single 1080x1920 jpg that is 108kb in size. Here is the output of the data going in to that call: ny_out=200 nx_out=356 dims[0]=ny_out; dims[1]=nx_out; dims[2]=3; mxDOUBLE_CLASS=0.150000 ; mxREAL=0.000000;

What am I missing? Does mxCreateNumericArray really need 497991905965072896 bytes of memory for this input?

Thanks.

josephrudeseal commented 3 years ago

I'm using Octave rather than MatLab