DeepVideoDeblurring icon indicating copy to clipboard operation
DeepVideoDeblurring copied to clipboard

Massive memory allocation failure, what am I missing?

Open josephrudeseal opened this issue 5 years ago • 1 comments

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 avatar Jan 15 '21 13:01 josephrudeseal

I'm using Octave rather than MatLab

josephrudeseal avatar Jan 15 '21 13:01 josephrudeseal