thunder-project / thunder

scalable analysis of images and time series
http://thunder-project.org
Apache License 2.0
814 stars 184 forks source link

converting images -> series with singleton #281

Open freeman-lab opened 8 years ago

freeman-lab commented 8 years ago

The following fails for the Spark backend

import thunder as td
images = td.images.fromrandom(shape=(1,1), engine=sc)
images.toseries()

Not sure yet where the problem is.

cc @jwittenbach

freeman-lab commented 8 years ago

Update: this happens whenever each image is a singleton, doesn't matter if it's one or more images, e.g.

import thunder as td
images = td.images.fromrandom(shape=(2,1), engine=sc)
data.toseries()