It looks like it worked. I got the following output:


Allocating # 0
Allocating # 1
Allocating # 2
Allocating # 3
Allocating # 4

Thank you,

Mike Alonge
On Thursday, October 2, 2014 3:50:17 PM UTC-7, Stefan van der Walt wrote:
Hi Michael

On Thu, Oct 2, 2014 at 7:17 PM, Michael Alonge <malo...@gmail.com> wrote:
> I have an image that when initially loaded in RGB yields a memory error when
> converted to LAB via color.rgb2lab(image). I get the following error:

Just as a basic memory size check, can you please let me know whether
the following script executes successfully?

import numpy as np
shape = (5184, 3456, 3)

out = []
for i in range(5):
    print("Allocating #", i)
    out.append(np.zeros(shape, dtype=float).fill(1))


Thanks
Stéfan