in desaturate_image
redarray_gpu = cuda.mem_alloc(self.redarray.nbytes)
pycuda._driver.LogicError: cuMemAlloc failed: initialization error
I get the above error on this line:
redarray_gpu = cuda.mem_alloc(self.redarray.nbytes)
What could be the reason?