[scikit-image] Warning from view_as_blocks

2017-03-15 Thread Carlton Banks
I am currently using view_as_blocks to extract sub matrices from a bigger matrices, these submatrices has to non-overlapping. but i am getting this error: /usr/local/lib/python2.7/dist-packages/skimage/util/shape.py:94: RuntimeWarning: Cannot provide views on a non-contiguous input array with

Re: [scikit-image] Warning from view_as_blocks

2017-03-15 Thread Stefan van der Walt
Hi Carlton On Wed, Mar 15, 2017, at 09:05, Carlton Banks wrote: > but i am getting this error: > > /usr/local/lib/python2.7/dist-packages/skimage/util/shape.py:94: > RuntimeWarning: Cannot provide views on a non-contiguous input array > without copying. warn(RuntimeWarning("Cannot provide vi