fred
2009-01-16 10:58:00 UTC
Hi all,
On a bi-xeon quad core (debian 64 bits) with 8 GB of RAM, if I want to
convolve a 102*122*143 float array (~7 MB) with a kernel of 77*77*41
cells (~1 MB), I get a MemoryError in correlate:
File "/usr/lib/python2.5/site-packages/scipy/ndimage/filters.py", line
331, in convolve
origin, True)
File "/usr/lib/python2.5/site-packages/scipy/ndimage/filters.py", line
312, in _correlate_or_convolve
_nd_image.correlate(input, weights, output, mode, cval, origins)
MemoryError
Why ?
Is there a workaround to compute such convolution ?
TIA.
Cheers,
On a bi-xeon quad core (debian 64 bits) with 8 GB of RAM, if I want to
convolve a 102*122*143 float array (~7 MB) with a kernel of 77*77*41
cells (~1 MB), I get a MemoryError in correlate:
File "/usr/lib/python2.5/site-packages/scipy/ndimage/filters.py", line
331, in convolve
origin, True)
File "/usr/lib/python2.5/site-packages/scipy/ndimage/filters.py", line
312, in _correlate_or_convolve
_nd_image.correlate(input, weights, output, mode, cval, origins)
MemoryError
Why ?
Is there a workaround to compute such convolution ?
TIA.
Cheers,
--
Fred
Fred